Jump to content

User:rolf_acker/Template:Cross-platform template

From Wikipedia, the free encyclopedia


This template ...

... ConfigData ... {{../ConfigData |ID=Path2BoxXPlatformTemplate}} (results in User:Rolf acker/Template:Cross-platform template) ...

Parameters

[edit]

All parameters are optional.

  • deWP: ... indicates whether the template is suitable for deWP or not ...
  • enWP: ... indicates whether the template is suitable for enWP or not ...
  • frWP: ... indicates whether the template is suitable for frWP or not ...
  • itWP: ... indicates whether the template is suitable for itWP or not ...
  • esWP: ... indicates whether the template is suitable for esWP or not ...
  • nlWP: = 0, otherwise error (just to show explicitly that nlWP is not supported)
  • version: ... version code of the template, formatted as YYYY-MM-DD:x.y.z-R ...
    • VersionID: ... version identifier of the template ...
    • VersionDate: ... formatted as YYYY-MM-DD (ineffective w/o VersionID) ...

Examples

[edit]
{{...local template name...
 |deWP = true
 |itWP = 1
 |enWP = 
 <!--frWP-->
 |esWP = no
 |nlWP = 0
 |VersionID = 9/3
}}

produces

{{...local template name... |deWP=yes |frWP=yes |nlWP=¬ |version=}}

produces

Without any supported xyWP parameters, the output changes to:

Own language edition

[edit]

enWP=1 produces

no enWP produces

enWP=<!--n/a--> produces

enWP=0 produces

YesNo values

[edit]
Value deWP
(bib)
itWP
(bib)
enWP
(bib)
frWP
(bib)
esWP
(bib)
bib
(yes=1)
1 + + yes + + 1
yes + + yes + + 1
y + + yes + + 1
true + + yes + + 1
on + + yes + 1
ja + + + 1
+ + + 1
oui + + + 1
+ + + + 1
si + + + + 1
+ + + + 1
0 + + + +
no + + + +
n + + + +
false + + + +
off + + +
nein + + +
non + + +
- + + + +
¬ + +
(n/a) + + + +

(Former) language specific implementations:

  • deWP: {{#invoke:TemplUtl|faculty|false}}
  • itWP: {{str replace|1=false|2=^[nN0f¬-].*|3=|count=1}}
  • enWP: {{yesno|false|def=}}
  • frWP: {{#invoke:TemplUtl|faculty|false}}
  • esWP: {{yesnoTNT|false}}

Version information

[edit]

By {{...local template name... ||version}}, just template version information is given. So, this is Template:Cross-platform template with version code 2025-06-16:2.0.3.