Template:See: Difference between revisions
(added optional custom name for link) |
VibranceBot (talk | contribs) m (use Template:sup) |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
< | <noinclude> | ||
{{Documentation/sandbox|doc = | |||
This template is used when only a part of a heading's title is discussed. Linking to more of the same topic. | |||
==Usage== | |||
===Parameters=== | |||
;<code>1</code> {{sup|required}} | |||
:The page to link to. | |||
;<code>2</code> | |||
:The text to display. | |||
==Examples== | |||
*{{tll|See|Project Zomboid Wiki}} | |||
{{See|Project Zomboid Wiki}} | |||
*{{tll|See|Project Zomboid Wiki|The Main Page}} | |||
{{See|Project Zomboid Wiki|The Main Page}} | |||
{{Translation guide|<syntaxhighlight lang="html"> | |||
{{#switch: {{{1|}}} | |||
| see_more = See more | |||
| #default = [[Category:Incorrect template usage]] | |||
}} | |||
</syntaxhighlight>}} | |||
==See also== | |||
*{{ll|Template:About}} | |||
*{{ll|Template:Main}} | |||
*{{ll|Template:Main/core}} | |||
}} | |||
{{ll|Category:Templates}} | |||
</noinclude><includeonly>{{#if: {{{1|}}} | |||
| :''{{tt|name = See | |||
| default = See more | |||
| arg1 = see_more | |||
}}: {{Main/core|{{{1}}}|{{{2|}}}}}'' | |||
| [[Category:Incorrect template usage]] <!-- should get at least one argument --> | |||
}}</includeonly> |
Latest revision as of 04:49, 8 January 2024
This template is used when only a part of a heading's title is discussed. Linking to more of the same topic.
Usage
Parameters
1
Required- The page to link to.
2
- The text to display.
Examples
{{See|Project Zomboid Wiki}}
- See more: Project Zomboid Wiki
{{See|Project Zomboid Wiki|The Main Page}}
- See more: The Main Page
How to translate
This template is translatable.
Template code
Paste the following code into the <includeonly>
tag of the translated template and translate the text after each =
sign (except for #default =
).
{{#switch: {{{1|}}}
| see_more = See more
| #default = [[Category:Incorrect template usage]]
}}
Template documentation
Copy the code wrapped in the <noinclude>
tag in this template and translate the text after doc =
in the {{Documentation}}
template.
{{Translation guide}}
template should be removed from the translated documentation.