User:Senefi/TestTemplate: Difference between revisions

From tgwiki2
Jump to navigation Jump to search
imported>Senefi
testing conditional inclusion for hacky template table data query
 
imported>Senefi
No edit summary
Line 1: Line 1:
{{#ifeq:{{{1}}}|first<--
{{#ifeq:{{{1}}}|first<--
-->|Only including first field<--
-->|Only including first field<--
-->|{{#if:{{{1|}}}||Including first and other fields<br>|}}}}
-->|{{#if:{{{1|}}}||Including first and other fields<br>|}}|}}
{{#ifeq:{{{1}}}|second<--
{{#ifeq:{{{1}}}|second<--
-->|Only including second field<--
-->|Only including second field<--
-->|{{#if:{{{1|}}}||Including second and other fields<br>|}}}}
-->|{{#if:{{{1|}}}||Including second and other fields<br>|}}|}}
{{#ifeq:{{{1}}}|third<--
{{#ifeq:{{{1}}}|third<--
-->|Only including third field<--
-->|Only including third field<--
-->|{{#if:{{{1|}}}||Including third and other fields<br>|}}}}
-->|{{#if:{{{1|}}}||Including third and other fields<br>|}}|}}

Revision as of 09:35, 11 July 2023

Including first and other fields
Including second and other fields
Including third and other fields