Civilization Wiki
(Link to a civ6 page with that page's icon)
Tag: sourceedit
 
m (Insert linebreak only if image exists.)
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{{Icon6|{{{1}}}|{{{2|44}}}}} {{Link6|{{{1}}}}}</includeonly><noinclude>[[Category:Civ6 templates]]{{Documentation}}</noinclude>
+
<includeonly>{{Icon6|{{{1}}}|{{{2|44}}}}}{{#ifexist:File:{{{1}}}_(Civ6).png|{{#if: {{{linebreak|}}}| <br /> |}}}}{{Link6|{{{1}}}}}</includeonly><noinclude>[[Category:Civ6 templates]]{{Documentation}}</noinclude>

Latest revision as of 09:09, 19 June 2020

(view | edit | purge | history)

Template documentation (the template shown above may sometimes be hidden or invisible)

Used to easily create a link to a Civilization 6 page including that page's picture as an icon.

Standard Implentation

{{PageIcon6|Fish}}

Fish Fish

10 px size

{{PageIcon6|Fish|10}}

Fish Fish

128 px size

{{PageIcon6|Fish|128}}

Fish Fish

Linebreak size

{{PageIcon6|Fish|linebreak=true}}

Fish 
Fish

Linebreak with different sizes

{{PageIcon6|Fish|linebreak=true|100}}

Fish 
Fish

{{PageIcon6|Fish|80|linebreak=true}}

Fish 
Fish


Visit Template:PageIcon6/doc to edit this text! (How does this work?)