Template:Nation: Difference between revisions

Jump to navigation Jump to search
This should stop the image links from showing up when no file has been assigned to them.
That case statement will only work if the file is wiki.png and nothing else.
Line 5: Line 5:
|title      = {{{name|}}}
|title      = {{{name|}}}
|data1      = <hr>
|data1      = <hr>
|image      = {{#if:[[{{{image|File:Wiki.png}}}|{{{imagesize|150px}}}]]}}
|image      = {{#if:[[{{{image|}}}|{{{imagesize|150px}}}]]}}
|caption    = {{#if:{{{caption|}}}|{{{caption|}}}}}
|caption    = {{#if:{{{caption|}}}|{{{caption|}}}}}
|image2      = {{#if:[[{{{image2|File:Wiki.png}}}|{{{imagesize|150px}}}]]}}
|image2      = {{#if:[[{{{image2|}}}|{{{imagesize|150px}}}]]}}
|headerstyle = background-color:#DAFFD4;
|headerstyle = background-color:#DAFFD4;
|labelstyle  = background-color:#f8f8f8;
|labelstyle  = background-color:#f8f8f8;

Revision as of 05:30, 15 February 2019

Local Region:

Government

Demographics