Template:Kingdom: Difference between revisions
Jump to navigation
Jump to search
CptTwinkie (talk | contribs) mNo edit summary |
CptTwinkie (talk | contribs) mNo edit summary |
||
(35 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> | |||
-->{{#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| | |thumb=No.png | ||
{{Small_Image_Link|No.png| | |biomes={{Small_Image_Link|No.png|Arctic}}<br /> | ||
|wonders={{Small_Image_Link|No.png| | {{Small_Image_Link|No.png|Tundra}} | ||
{{Small_Image_Link|No.png| | |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 /> | |||
<br /> | |||
<br /> | |||
<br /> | |||
<br /> | |||
<br /> | |||
==Usage== | ==Usage== | ||
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| | |thumb=No.png | ||
{{Small_Image_Link|No.png| | |biomes={{Small_Image_Link|No.png|Arctic}}<br /> | ||
|wonders={{Small_Image_Link|No.png| | {{Small_Image_Link|No.png|Tundra}} | ||
{{Small_Image_Link|No.png| | |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
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 }}