Template:Neighbor Infobox: Difference between revisions
Storing page_id in bucket |
Added auto-pluralization for set label. Reduced size of galaxy icon |
||
| Line 25: | Line 25: | ||
|Birthday = {{#if:{{{birthday|}}}|{{#formatdate:{{{birthday|}}}|mdy}}}} | |Birthday = {{#if:{{{birthday|}}}|{{#formatdate:{{{birthday|}}}|mdy}}}} | ||
|Role = {{{role|}}} | |Role = {{{role|}}} | ||
|Galaxy = {{#if:{{{galaxy|}}}|{{Item|{{{galaxy|}}}| | |Galaxy = {{#if:{{{galaxy|}}}|{{Item|{{{galaxy|}}}|size=20}}}} | ||
|Set = {{#if:{{{set}}}|{{ | |Set = {{#if:{{#explode:{{{set}}}|;|1}}|{{List|[[{{{set}}}]]}}|{{#if:{{{set|}}}|[[{{{set|}}}]]}}}} | ||
|Set_label = Set{{#if:{{#explode:{{{set}}}|;|1}}|s}} | |||
|Loves = {{#if:{{#explode:{{{loves}}}|;|1}}|{{Item List|{{{loves}}}}}|{{#if:{{{loves|}}}|{{Item|{{{loves|}}}}}|}}}} | |Loves = {{#if:{{#explode:{{{loves}}}|;|1}}|{{Item List|{{{loves}}}}}|{{#if:{{{loves|}}}|{{Item|{{{loves|}}}}}|}}}} | ||
|Likes = {{#if:{{#explode:{{{likes}}}|;|1}}|{{List|{{{likes}}}}}|{{{likes|}}}}} | |Likes = {{#if:{{#explode:{{{likes}}}|;|1}}|{{List|{{{likes}}}}}|{{{likes|}}}}} | ||