Difference between revisions of "Template:Var"

From "PTTLink Wiki"
Jump to navigation Jump to search
Mediawiki>Izno
(nix xml lang invocation)
 
Mediawiki>ExE Boss
(Copied from mw:Template:Var)
Line 1: Line 1:
<var {{#if:{{{class|}}}|class="{{{class}}}"}} {{#if:{{{id|}}}|id="{{{id}}}"}} style="padding-right: 1px;{{{style|}}}" {{#if:{{{lang|}}}|lang="{{{lang}}}"}} {{#if:{{{title|}}}|title="{{{title}}}"}}>{{{1}}}</var><noinclude>
+
<onlyinclude><var {{#if:{{{class|}}}|class="{{{class}}}"}} {{#if:{{{id|}}}|id="{{{id}}}"}} style="padding-right: 1px;{{{style|}}}" {{#if:{{{lang|}}}|lang="{{{lang}}}" xml:lang="{{{lang}}}"}} {{#if:{{{title|}}}|title="{{{title}}}"}}>{{{1}}}</var></onlyinclude>
<!--Categories and interwikis go near the bottom of the /doc page.-->
 
 
{{Documentation}}
 
{{Documentation}}
</noinclude>
+
<!-- Add categories to the /doc subpage and interwikis in Wikidata, not here! -->

Revision as of 08:28, 12 July 2021

{{{1}}}

Template documentationcreate · purge ]
This documentation is transcluded from Template:Var/doc.