Template:Linking: Difference between revisions

From Bharatpedia, an open encyclopedia
m (→‎top: clean up, replaced: Wikipedia: → Bharatpedia: (2))
m (→‎top: clean up)
 
Line 1: Line 1:
Linking to existing Wikipedia pages is done by placing doubled square brackets around the name of the page. Thus, <kbd><nowiki>[[Wikipedia]]</nowiki></kbd> produces [[Wikipedia]]. A useful expansion of this is done by separating what you want ''linked'', from what you want ''displayed'', with a pipe character ("|"), to create a "[[Bharatpedia:Piped link|piped link]]". Thus: <kbd><nowiki>[[Wikipedia|encyclopedia]]</nowiki></kbd> produces [[Wikipedia|encyclopedia]], with the displayed text linking to the article, [[Wikipedia]]. You can link to ''internal sections'' of pages in this way: [[Wikipedia#Cultural significance|Wikipedia#name of internal section of that article]]. By contrast, for external links: <kbd><nowiki>http://www.example.org</nowiki></kbd> produces http://www.example.org; <kbd><nowiki>[http://www.example.org]</nowiki></kbd> produces [http://www.example.org]; and <kbd><nowiki>[http://www.example.org example]</nowiki></kbd> produces [http://www.example.org example]. For more information, see [[Help:Link]] and please consider taking a tour through the [[Bharatpedia:Tutorial]]. Hope this has helped.{{z28}}<!-- Template:Linking --><noinclude>
Linking to existing Bharatpedia pages is done by placing doubled square brackets around the name of the page. Thus, <kbd><nowiki>[[Bharatpedia]]</nowiki></kbd> produces [[Bharatpedia]]. A useful expansion of this is done by separating what you want ''linked'', from what you want ''displayed'', with a pipe character ("|"), to create a "[[Bharatpedia:Piped link|piped link]]". Thus: <kbd><nowiki>[[Bharatpedia|encyclopedia]]</nowiki></kbd> produces [[Bharatpedia|encyclopedia]], with the displayed text linking to the article, [[Bharatpedia]]. You can link to ''internal sections'' of pages in this way: [[Bharatpedia#Cultural significance|Bharatpedia#name of internal section of that article]]. By contrast, for external links: <kbd><nowiki>http://www.example.org</nowiki></kbd> produces http://www.example.org; <kbd><nowiki>[http://www.example.org]</nowiki></kbd> produces [http://www.example.org]; and <kbd><nowiki>[http://www.example.org example]</nowiki></kbd> produces [http://www.example.org example]. For more information, see [[Help:Link]] and please consider taking a tour through the [[Bharatpedia:Tutorial]]. Hope this has helped.{{z28}}<!-- Template:Linking --><noinclude>


{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>

Latest revision as of 18:45, 5 June 2021

Linking to existing Bharatpedia pages is done by placing doubled square brackets around the name of the page. Thus, [[Bharatpedia]] produces Bharatpedia. A useful expansion of this is done by separating what you want linked, from what you want displayed, with a pipe character ("|"), to create a "piped link". Thus: [[Bharatpedia|encyclopedia]] produces encyclopedia, with the displayed text linking to the article, Bharatpedia. You can link to internal sections of pages in this way: Bharatpedia#name of internal section of that article. By contrast, for external links: http://www.example.org produces http://www.example.org; [http://www.example.org] produces [1]; and [http://www.example.org example] produces example. For more information, see Help:Link and please consider taking a tour through the Bharatpedia:Tutorial. Hope this has helped.Template:Z28