Template:Main other: Difference between revisions
From All Skies Encyclopaedia
imported>Davidgothberg m (Protected Template:Main other: This is a meta-template, the moment it is used it becomes high-risk. [edit=sysop:move=sysop]) |
m (1 revision imported) |
||
| (6 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
{{#switch: |
{{safesubst:<noinclude/>#switch: |
||
<!--If no or empty "demospace" parameter then detect namespace--> |
<noinclude><!-- If no or empty "demospace" parameter then detect namespace --></noinclude> |
||
{{#if:{{{demospace|}}} |
{{safesubst:<noinclude/>#if:{{{demospace|}}} |
||
| {{lc: {{{demospace}}} }} <!--Use lower case "demospace"--> |
| {{safesubst:<noinclude/>lc: {{{demospace}}} }} <noinclude><!-- Use lower case "demospace" --></noinclude> |
||
| {{#ifeq:{{NAMESPACE}}|{{ns:0}} |
| {{safesubst:<noinclude/>#ifeq:{{safesubst:<noinclude/>NAMESPACE}}|{{safesubst:<noinclude/>ns:0}} |
||
| main |
| main |
||
| other |
| other |
||
}} |
}} |
||
}} |
}} |
||
| main = {{{1|}}} |
|||
<!--If any parameter, then don't return the "main/other" strings--> |
|||
| main = {{#if:{{{1|}}}{{{2|}}} | {{{1|}}} | main }} |
|||
| other |
| other |
||
| #default = |
| #default = {{{2|}}} |
||
| ⚫ | |||
{{documentation}} |
|||
| ⚫ | |||
| ⚫ | |||
<!-- {{pp-template|small=yes}} --> |
|||
{{Documentation}} |
|||
| ⚫ | |||
</noinclude> |
</noinclude> |
||




