Template:W/doc: Difference between revisions

From USApedia
m (1 revision imported)
m (Text replacement - "Powerpedia" to "Saintapedia")
Line 1: Line 1:
The purpose of the '''{{tld|W}}''' template is to provide a convenient way to make links to wikipedia that are followed by a wikipedia logo to visually distinguish them from internal Powerpedia links.  
The purpose of the '''{{tld|W}}''' template is to provide a convenient way to make links to wikipedia that are followed by a wikipedia logo to visually distinguish them from internal Saintapedia links.  


==Parameters==
==Parameters==
Line 78: Line 78:
* {{tlx|mw}} to link to articles on the {{mw|MediaWiki}} wiki.
* {{tlx|mw}} to link to articles on the {{mw|MediaWiki}} wiki.
* {{tlx|Commons}} links to images related to a topic on [http://commons.wikimedia.org/wiki/Main_Page Wikimedia Commons].
* {{tlx|Commons}} links to images related to a topic on [http://commons.wikimedia.org/wiki/Main_Page Wikimedia Commons].
* {{tlx|W or p}} links to a Powerpedia article if it exists and to Wikipedia's article otherwise.
* {{tlx|W or p}} links to a Saintapedia article if it exists and to Wikipedia's article otherwise.


<includeonly>
<includeonly>

Revision as of 20:43, 16 September 2024

The purpose of the {{W}} template is to provide a convenient way to make links to wikipedia that are followed by a wikipedia logo to visually distinguish them from internal Saintapedia links.

Parameters

Parameter Usage Notes
|article= Required: Enter the name of the article on Wikipedia to link to. If unnamed, this parameter should be first.
|label= Optional: Enter the text you want displayed for the link text. If unnamed, this parameter should be second.
|anchor= Optional: Enter a section name within the article to link to. If unnamed, this should be third. You can alternately specify the article parameter as article#anchor.
|nologo= Optional: Suppresses the Wikipedia logo from the link. This parameter can be specified using |nologo= and any value or |nologo= without a value. |nologo=yes or |nologo=true are preferred, since that will be clearest to other editors, but |nologo=no and |nologo=except on Wednesdays would have the same effect.

Examples

What you type Results
{{W|Director of National Intelligence}} Director of National IntelligenceWikipedia Logo.png
{{W|Director of National Intelligence|Office of the Director of National Intelligence}} Office of the Director of National IntelligenceWikipedia Logo.png
{{W|Director of National Intelligence|Office of the Director of National Intelligence|nologo=yes}} Office of the Director of National Intelligence

{{W<br /> &nbsp;|article=Director of National Intelligence<br /> &nbsp;|label=Office of the Director of National Intelligence<br /> }}

Office of the Director of National IntelligenceWikipedia Logo.png

{{W<br /> &nbsp;|article=Director of National Intelligence<br /> &nbsp;|anchor=Office of the Director of National Intelligence (ODNI)<br /> &nbsp;|label=Office of the Director of National Intelligence<br /> }}

Office of the Director of National IntelligenceWikipedia Logo.png

{{W<br /> |article=Director of National Intelligence<br /> |anchor=Office of the Director of National Intelligence (ODNI)<br /> |label=Office of the Director of National Intelligence<br /> |nologo=True<br /> }}

Office of the Director of National Intelligence

See also