Template:Wonder: Difference between revisions

From Medieval Engineers Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
<includeonly>{{Infobox/Start}}<!--
<includeonly>{{Infobox/Start}}<!--
-->{{Infobox/Thumbnail|image={{{thumb|No.png}}}|caption={{BASEPAGENAME}} }}<!--
--> {{Infobox/CatText|category=Kingdom|text={{{kingdom|<Information Missing>}}} }}<!--
--> {{Infobox/CatText|category=Kingdom|text={{{kingdom|<Information Missing>}}} }}<!--
--> {{Infobox/CatText|category=Biome|text={{{biome|<Information Missing>}}} }}<!--
--> {{Infobox/CatText|category=Biome|text={{{biome|<Information Missing>}}} }}<!--
-->{{Infobox/End}}<!--
-->{{Infobox/End|nolink=true}}<!--
-->{{#if:{{{bigimage|}}}|<!--TRUE-->[[File:{{{bigimage}}}|640px|thumb|<strong><center>{{BASEPAGENAME}}</center></strong>]]|<!--FALSE-->}}<!--


-->{{#if:{{{thumb|}}}||[[Category:Missing_images]]}}<!--
-->{{#if:{{{kingdom|}}}||[[Category:Missing_information]]}}<!--
-->{{#if:{{{kingdom|}}}||[[Category:Missing_information]]}}<!--
-->{{#if:{{{biome|}}}||[[Category:Missing_information]]}}<!--
-->{{#if:{{{biome|}}}||[[Category:Missing_information]]}}<!--
Line 9: Line 12:
-->{{#ifeq:{{FULLPAGENAME}}|Template:Wonder|<!--TRUE-->|<!--FALSE-->[[Category:Wonders]]}}</includeonly><noinclude>
-->{{#ifeq:{{FULLPAGENAME}}|Template:Wonder|<!--TRUE-->|<!--FALSE-->[[Category:Wonders]]}}</includeonly><noinclude>
{{Wonder
{{Wonder
|thumb=No.png
|kingdom={{Small_Image_Link|No.png|Umbril}}
|kingdom={{Small_Image_Link|No.png|Umbril}}
|biome={{Small_Image_Link|No.png|Arctic}}
|biome={{Small_Image_Link|No.png|Arctic}}
|bigimage=No.png
}}
}}
<br />
<br />
Line 22: Line 27:
The Image Link template is meant to be used when adding items to a list that have numbers and images.
The Image Link template is meant to be used when adding items to a list that have numbers and images.
<pre>{{Wonder
<pre>{{Wonder
|thumb=<image?>
|kingdom=<kingdom?>
|kingdom=<kingdom?>
|biome=<biome?>
|biome=<biome?>
|bigimage=<image>
}}</pre>
}}</pre>
*The code above can be pasted into your page and edited.
*The code above can be pasted into your page and edited.
Line 31: Line 38:
==Example Source==
==Example Source==
<pre>{{Wonder
<pre>{{Wonder
|thumb=No.png
|kingdom={{Small_Image_Link|No.png|Umbril}}
|kingdom={{Small_Image_Link|No.png|Umbril}}
|biome={{Small_Image_Link|No.png|Arctic Biome}}
|biome={{Small_Image_Link|No.png|Arctic}}
|bigimage=No.png
}}</pre>
}}</pre>
[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Revision as of 22:23, 20 December 2017

Wonder

Wonder
Wonder

Kingdom Umbril

Biome Arctic

Transcluded from Wonder/Infobox
Wonder







Usage

The Image Link template is meant to be used when adding items to a list that have numbers and images.

{{Wonder
|thumb=<image?>
|kingdom=<kingdom?>
|biome=<biome?>
|bigimage=<image>
}}
  • The code above can be pasted into your page and edited.
  • Items marked with a "?" do not have defaults and will display <Information Missing> if they are not filled in.
  • Adds Category:Wonders category.

Example Source

{{Wonder
|thumb=No.png
|kingdom={{Small_Image_Link|No.png|Umbril}}
|biome={{Small_Image_Link|No.png|Arctic}}
|bigimage=No.png
}}