Jump to content

User:Jeff G./Go/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

This template is used to generate a hat note with links to articles, images, and/or URLs containing further information about the subject at hand. Many links are possible, using two parameters. It combines the functionality of the following templates: {{cat main}}; {{cat more}}; {{dablink}}; {{details}}; {{details3}}; {{further}}; {{main}}; {{mainlist}}; {{see}}; and {{seealso}}. It is called with one of those template names as the first parameter (or "to" for "Go to:"), or just one parameter (for "Additional information can be found at:", and the links to articles, images, and/or URLs in the second parameter. You may use the {{!}} or | hack to substitute for a vertical bar, or the 2= hack to use a URL with an equal sign in it. Links must use the correct square brackets, as if they were inline, as this template will not supply any square brackets by itself. This template will also not include anything after it - you want a full stop / period / dot, you append a full stop / period / dot yourself.

Examples

[edit]

Example from {{cat main}}

[edit]

{{User:Jeff G./Go|cat main|Cat main.}}


Example from {{cat more}}

[edit]

{{User:Jeff G./Go|cat more|Cat main.}}


Example from {{details}}

[edit]

{{User:Jeff G./Go|details|B, see A.}}


Examples from {{details}} and {{details3}}

[edit]

{{User:Jeff G./Go|details3|B, see The Wall Street Journal and The New York Times.}}

{{User:Jeff G./Go|details3|article 1, article 2, and article 3.}}


Examples of {{further}} using the examples from {{see}} above

[edit]
Example with two parameters

{{User:Jeff G./Go|further|Year Zero (alternate reality game)}}

Example with multiple parameters

{{User:Jeff G./Go|further|Iraq and weapons of mass destruction, Saddam Hussein and al-Qaeda, Downing Street memo, and Bush-Blair memo}}

Example of linking a category

{{User:Jeff G./Go|further|Category:Wikipedians}}

Examples from {{main}}

[edit]

{{User:Jeff G./Go|main|Article}}

{{User:Jeff G./Go|mains|Article1, Article2, and Article3}}

{{User:Jeff G./Go|mains|Article1, Article2, Article3, Article4, and Article5}}

{{User:Jeff G./Go|main|[[Article{{!}}Alternate title]]}} (sorry, this syntax broke {{tlu}})

{{User:Jeff G./Go|main|2=[[(15760) 1992 QB1{{!}}{{mp|(15760) 1992 QB|1}}]]}} (sorry, this syntax broke {{tlu}})

{{User:Jeff G./Go|mainbold|Article}}

{{User:Jeff G./Go|mainsbold|Article1, Article2, and Article3}}

{{User:Jeff G./Go|mainsbold|Article1, Article2, Article3, Article4, and Article5}}

{{User:Jeff G./Go|mainbold|[[Article{{!}}Alternate title]]}} (sorry, this syntax broke {{tlu}})

{{User:Jeff G./Go|mainbold|2=[[(15760) 1992 QB1{{!}}{{mp|(15760) 1992 QB|1}}]]}} (sorry, this syntax broke {{tlu}})


{{User:Jeff G./Go|Mainlist|List of scientific journals in astronomy}}

Examples from {{see}}

[edit]
Example with two parameters

{{User:Jeff G./Go|see|Year Zero (alternate reality game)}}

Example with multiple parameters

{{User:Jeff G./Go|see|Iraq and weapons of mass destruction, Saddam Hussein and al-Qaeda, Downing Street memo, and Bush-Blair memo}}

Example of linking a category

{{User:Jeff G./Go|see|Category:Wikipedians}}

Examples from {{see also}}

[edit]

{{User:Jeff G./Go|see also|Article}}

{{User:Jeff G./Go|see also|Article and Article}}

{{User:Jeff G./Go|see also|Article, Article, and Article}}

{{User:Jeff G./Go|see also|Article and Alternate title}}

Example of "to"

[edit]

{{User:Jeff G./Go|to|Jail, do not pass "Go", do not collect $200}}

Example from {{dablink}}

[edit]

{{User:Jeff G./Go|dablink|See also Murphy's Law, Finagle's Law and Murphy's laws of combat. For the album by British rock band Spear of Destiny, see Sod's Law (Spear of Destiny album)}}

Example from {{dablink}} (for contrast)

[edit]

{{dablink|See also Murphy's Law, Finagle's Law and Murphy's laws of combat. For the album by British rock band Spear of Destiny, see Sod's Law (Spear of Destiny album)}}

See also

[edit]

<includeonly>
[[Category:Wikipedia page-section templates|{{PAGENAME}}]]
[[Category:Cross-reference templates|{{PAGENAME}}]]
<!--
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
-->
</includeonly>