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|}}}|{{#set:{{{ | | text = {{#if:{{{3|}}}|{{#set:{{{4}}}={{{3}}}}}{{{3}}}}} | ||
| attr = {{#if:{{{3|}}}|[[{{{4}}}::{{{3}}}]]}} | | attr = {{#if:{{{3|}}}|[[{{{4}}}::{{{3}}}]]}} | ||
| list = {{#arraymap:{{{3|}}}|;|x|[[{{{2}}}::x]]|; }} | | list = {{#arraymap:{{{3|}}}|;|x|[[{{{2}}}::x]]|; }} |