User:Jeff G./Go
What it looks like
[edit]
Usage
[edit]This user page employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here. |
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]{{User:Jeff G./Go|cat main|Cat main.}}
{{User:Jeff G./Go|cat more|Cat main.}}
{{User:Jeff G./Go|details|B, see A.}}
{{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.}}
- 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}}
{{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}})
Example from {{mainlist}} and List of scientific journals
[edit]{{User:Jeff G./Go|Mainlist|List of scientific journals in astronomy}}
- 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}}
{{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}}
{{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)}}
{{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]- {{Cat main}}
- {{Cat more}}
- {{Dablink}}
- {{Details}}
- {{Details3}}
- {{Further}}
- {{Main}}
- {{Mainlist}}
- {{See}}
- {{Seealso}}
- Wikipedia:Hatnote
- Wikipedia:Long article layout
- Wikipedia:Summary style
- m:Help:Template
<includeonly> [[Category:Wikipedia page-section templates|{{PAGENAME}}]] [[Category:Cross-reference templates|{{PAGENAME}}]] <!-- [[Category:Templates using ParserFunctions|{{PAGENAME}}]] --> </includeonly>