Template:Language/archives/MultiPage link/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "{{Doc/subpage}} <!-- Please place categories where indicated at the bottom of this page.) --> == Usage == This template is used to make pages using MultiPage able to be used a...")
 
mNo edit summary
Line 4: Line 4:
This template is used to make pages using MultiPage able to be used as templates. It automatically links to the appropriate language subpage, or specified language subpage
This template is used to make pages using MultiPage able to be used as templates. It automatically links to the appropriate language subpage, or specified language subpage
{{code|<nowiki>{{Expand|{{MultiPage link|Main Page|es}}}}</nowiki>}} will produce:
{{code|<nowiki>{{Expand|{{MultiPage link|Main Page|es}}}}</nowiki>}} will produce:
{{expand|{{:{{FULLPAGENAME}}|Main Page|es}}}}
{{expand|{{MultiPage link|Main Page|es}}}}
{{code|<nowiki>{{Expand|{{MultiPage link|Main Page|;lkj}}}}</nowiki>}} language subpage does not exist, and will instead produce:
{{code|<nowiki>{{Expand|{{MultiPage link|Main Page|;lkj}}}}</nowiki>}} language subpage does not exist, and will instead produce:
{{expand|{{:{{FULLPAGENAME}}|Main Page|;lkj}}}}
{{expand|{{MultiPage link|Main Page|;lkj}}}}





Revision as of 09:14, 25 October 2023

Edit-copy.png
This is a documentation subpage for Template:Language.
Don't forget to purge the contents of the base page upon creating or editing this subpage.

Usage

This template is used to make pages using MultiPage able to be used as templates. It automatically links to the appropriate language subpage, or specified language subpage {{Expand|{{MultiPage link|Main Page|es}}}} will produce:

Template:MultiPage link

{{Expand|{{MultiPage link|Main Page|;lkj}}}} language subpage does not exist, and will instead produce:

Template:MultiPage link