Template:TableAttribute: Difference between revisions

From Seven Sages of Rome
No edit summary
No edit summary
Line 2: Line 2:
| '''{{{2}}}''' || {{#switch:{{{1}}}
| '''{{{2}}}''' || {{#switch:{{{1}}}
| file = {{#if:{{{3|}}}|[[File:{{{3}}}|thumbnail|{{{3}}}]]}}
| file = {{#if:{{{3|}}}|[[File:{{{3}}}|thumbnail|{{{3}}}]]}}
| text = {{#if:{{{3|}}}|[[{{{2}}}::{{{3}}}|]]{{{3}}}}}
| text = {{#if:{{{3|}}}|{{#set:{{{2}}}={{{3}}}}}{{{3}}}}}
| attr = {{#if:{{{3|}}}|[[{{{4}}}::{{{3}}}]]}}
| attr = {{#if:{{{3|}}}|{{#set:{{{4}}}={{{3}}}}}}}
| list = {{#arraymap:{{{3|}}}|;|x|[[{{{2}}}::x]]|; }}
| list = {{#arraymap:{{{3|}}}|;|x|{{#set:{{{2}}}=x}}|; }}
| #default = {{#if:{{{3|}}}|{{{3}}}}}
| #default = {{#if:{{{3|}}}|{{{3}}}}}
}}
}}
</includeonly>
</includeonly>

Revision as of 11:40, 16 January 2024