Template:See: Difference between revisions

From PZwiki
m (noinclude)
(update)
Line 1: Line 1:
<noinclude>
<noinclude>
{{Languages}}
{{Documentation/sandbox|doc =
{{Documentation}}
This template is used when only a part of a heading's title are discussed. Linking to more of the same topic.
[[Category:Templates]]
 
</noinclude><includeonly>:<small>''See more: {{#if:{{{2|}}}|[[{{{1}}}|{{{2}}}]]|[[{{{1}}}]]}}''</small></includeonly>
==Usage==
{{Tlx|See|Project Zomboid Wiki}}
{{See|Project Zomboid Wiki}}
{{Tlx|See|Project Zomboid Wiki|The Main Page}}
{{See|Project Zomboid Wiki|The Main Page}}
 
===Parameters===
;<code>1</code> <sup>(required)</sup>
:The page to link to.
;<code>2</code>
:The text to display.
 
{{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|Category:Templates}}
</noinclude><includeonly>:''{{tt
| name = See
| default = See more
| arg1 = see_more
}}: [[{{{1}}}{{#if:{{{2|}}}|{{!}}{{{2}}}}}]]''</includeonly>

Revision as of 08:54, 28 December 2023

Notebook.pngTemplate Documentation

This template is used when only a part of a heading's title are discussed. Linking to more of the same topic.

Usage

{{See|Project Zomboid Wiki}}

See more: Project Zomboid Wiki

{{See|Project Zomboid Wiki|The Main Page}}

See more: The Main Page

Parameters

1 (required)
The page to link to.
2
The text to display.

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.

See also

Editors can experiment in this template's sandbox.