Difference between revisions of "Template:QuAD/p"

From Team Fortress Wiki
Jump to: navigation, search
m
m (A less complicated way of implementing this.)
Line 1: Line 1:
{{#switch:{{SUBPAGENAME}}|ja=(|zh-hans=(|zh-hant=(|#default=&#32;(}}<noinclude>{{Doc begin}}
+
<includeonly>{{lang
 +
|{{#if:{{{force|}}}|force|void}}={{{force|}}}
 +
|en=&#32;({{{1}}})
 +
|ja=({{{1}}})
 +
|zh-hans=({{{1}}})
 +
|zh=hant=({{{1}}})
 +
}}</includeonly><noinclude>{{Doc begin}}
 
== Usage ==
 
== Usage ==
 +
Wraps the first argument in language-appropriate parenthesis.
 +
 +
{{tl|QuAD/p|foo}} produces {{QuAD/p|foo}}
 +
 +
On /ja pages, it produces {{QuAD/p|foo|force=ja}}
 +
 
Only for the [[Template:QuAD|QuAD]] template.</noinclude>
 
Only for the [[Template:QuAD|QuAD]] template.</noinclude>

Revision as of 09:21, 15 March 2022

Documentation for QuAD/p

Usage

Wraps the first argument in language-appropriate parenthesis.

{{QuAD/p}} produces (foo)

On /ja pages, it produces (foo)

Only for the QuAD template.