User:rolf_acker/Template:Cross-platform template
Appearance
![]() | (Version 2.0.3 as of June 16, 2025) |
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 asYYYY-MM-DD:x.y.z-R
...VersionID
: ... version identifier of the template ...VersionDate
: ... formatted asYYYY-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
![]() | (Version 9/3) |
{{...local template name... |deWP=yes |frWP=yes |nlWP=¬ |version=}}
produces
![]() |
Without any supported xyWP parameters, the output changes to:
![]() | This is not a „cross-platform“ template. ... (Version 08.15) |
Own language edition
[edit]enWP=1
produces
![]() |
no enWP
produces
![]() |
enWP=<!--n/a-->
produces
![]() |
enWP=0
produces
![]() | This is a "cross-platform" template ...: Error: Parameter "enWP" ..., it. (Version 0.0.0 as of January 1, 1970) |
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 | |
sì | + | + | + | – | 1 | |
oui | + | + | + | – | 1 | |
sí | + | + | + | + | 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
.