Template:TEST-Template: Difference between revisions

From The Talos Principle Wiki
No edit summary
logical inclusive or
 
Line 3: Line 3:
It should not be used in any articles.</span>
It should not be used in any articles.</span>
</noinclude>
</noinclude>
{| class="infobox"
{{#if:{{#ifeq:{{{A|}}}|true|1|}}{{#ifeq:{{{B|}}}|true|1|}}|result|}}
! colspan=2| {{BASEPAGENAME}}
|-
| Field 1:
| {{{value}}}
|-
| Field 2:
| {{{sub|{{Template:TEST-SubTemplate}}}}}
|}
<noinclude>
<noinclude>
<templatedata>
 
{
Neither: {{TEST-Template}}
"params": {
 
"value": {},
A only: {{TEST-Template|A=true}}
"sub": {
 
"description": "Do NOT edit the value below directly. Use a template editor for.",
B only: {{TEST-Template|B=true}}
"type": "unknown",
 
"autovalue": "{{TEST-SubTemplate}}"
Both: {{TEST-Template|A=true|B=true}}
}
},
"description": "(For testing only.)"
}
</templatedata>
</noinclude>
</noinclude>

Latest revision as of 08:22, 16 December 2023

This is for testing possible features / coding of templates. It should not be used in any articles.



Neither:


A only: result


B only: result


Both: result