Template:Kingdom: Difference between revisions

From Medieval Engineers Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(33 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{Infobox/Start}}{{Infobox/Cat|Biomes}}{{Infobox/Text|{{{biomes}}} }}{{Infobox/Cat|Wonders}}{{Infobox/Text|{{{wonders}}} }}{{Infobox/End}}
<includeonly>{{Infobox/Start}}{{Infobox/Thumbnail|image={{{thumb|No.png}}}|caption={{BASEPAGENAME}} }}{{Infobox/Cat|Biomes}}{{Infobox/Text|{{{biomes|<Information Missing>}}} }}{{Infobox/Cat|Wonders}}{{Infobox/Text|{{{wonders|<Information Missing>}}} }}{{Infobox/End|hidetext=true}}{{#if:{{{bigmap|}}}|<!--TRUE-->[[File:{{{bigmap}}}|640px|thumb|<strong><center>Map of {{BASEPAGENAME}}</center></strong>]]|<!--FALSE-->}}<!--
[[Category:Kingdoms]]</includeonly><noinclude>
 
==Example==
-->{{#if:{{{thumb|}}}||[[Category:Missing_images]]}}<!--
-->{{#if:{{{biomes|}}}||[[Category:Missing_information]]}}<!--
-->{{#if:{{{wonders|}}}||[[Category:Missing_information]]}}<!--
 
-->{{#ifeq:{{FULLPAGENAME}}|Template:Kingdom|<!--TRUE-->|<!--FALSE-->[[Category:Kingdoms]]}}</includeonly><noinclude>
{{Kingdom
{{Kingdom
|biomes={{Small_Image_Link|No.png|Arctic Biome}}<br />
|thumb=No.png
{{Small_Image_Link|No.png|Tundra Biome}}
|biomes={{Small_Image_Link|No.png|Arctic}}<br />
|wonders={{Small_Image_Link|No.png|Icy Fracture}}<br />
{{Small_Image_Link|No.png|Tundra}}
{{Small_Image_Link|No.png|Cesky Raj}}
|wonders={{Small_Image_Link|No.png|Dariosy Raj}}<br />
{{Small_Image_Link|No.png|Frozen Chasm}}
|bigmap=MapBarHadur.png
}}
}}
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
Line 21: Line 33:
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>{{Kingdom
<pre>{{Kingdom
|biomes=<biomes>
|thumb=<image?>
|wonders=<wonders>
|biomes=<biomes?>
|wonders=<wonders?>
|bigmap=<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.
*Items marked with a "?" do not have defaults and will display <Information Missing> if they are not filled in.
*Adds [[:Category:Kingdoms]] category.


==Example Source==
==Example Source==
<pre>{{Kingdom
<pre>{{Kingdom
|biomes={{Small_Image_Link|No.png|Arctic Biome}}<br />
|thumb=No.png
{{Small_Image_Link|No.png|Tundra Biome}}
|biomes={{Small_Image_Link|No.png|Arctic}}<br />
|wonders={{Small_Image_Link|No.png|Icy Fracture}}<br />
{{Small_Image_Link|No.png|Tundra}}
{{Small_Image_Link|No.png|Cesky Raj}}
|wonders={{Small_Image_Link|No.png|Dariosy Raj}}<br />
{{Small_Image_Link|No.png|Frozen Chasm}}
|bigmap=MapBarHadur.png
}}</pre>
}}</pre>
[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Latest revision as of 10:37, 18 January 2018

Kingdom

Kingdom
Kingdom

Biomes

 Arctic
 Tundra

Wonders

 Dariosy Raj
 Frozen Chasm

Map of Kingdom
















Usage

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

{{Kingdom
|thumb=<image?>
|biomes=<biomes?>
|wonders=<wonders?>
|bigmap=<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:Kingdoms category.

Example Source

{{Kingdom
|thumb=No.png
|biomes={{Small_Image_Link|No.png|Arctic}}<br />
{{Small_Image_Link|No.png|Tundra}}
|wonders={{Small_Image_Link|No.png|Dariosy Raj}}<br />
{{Small_Image_Link|No.png|Frozen Chasm}}
|bigmap=MapBarHadur.png
}}