Template:Kingdom: Difference between revisions
Jump to navigation
Jump to search
CptTwinkie (talk | contribs) mNo edit summary |
CptTwinkie (talk | contribs) mNo edit summary |
||
(13 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{Infobox/Start}}{{Infobox/Thumbnail|image={{{ | <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-->}}<!-- | ||
-->{{#if:{{{ | -->{{#if:{{{thumb|}}}||[[Category:Missing_images]]}}<!-- | ||
-->{{#if:{{{biomes|}}}||[[Category:Missing_information]]}}<!-- | -->{{#if:{{{biomes|}}}||[[Category:Missing_information]]}}<!-- | ||
-->{{#if:{{{wonders|}}}||[[Category:Missing_information]]}}<!-- | -->{{#if:{{{wonders|}}}||[[Category:Missing_information]]}}<!-- | ||
Line 7: | Line 7: | ||
-->{{#ifeq:{{FULLPAGENAME}}|Template:Kingdom|<!--TRUE-->|<!--FALSE-->[[Category:Kingdoms]]}}</includeonly><noinclude> | -->{{#ifeq:{{FULLPAGENAME}}|Template:Kingdom|<!--TRUE-->|<!--FALSE-->[[Category:Kingdoms]]}}</includeonly><noinclude> | ||
{{Kingdom | {{Kingdom | ||
| | |thumb=No.png | ||
|biomes={{Small_Image_Link|No.png|Arctic}}<br /> | |biomes={{Small_Image_Link|No.png|Arctic}}<br /> | ||
{{Small_Image_Link|No.png|Tundra}} | {{Small_Image_Link|No.png|Tundra}} | ||
|wonders={{Small_Image_Link|No.png|Dariosy Raj}}<br /> | |wonders={{Small_Image_Link|No.png|Dariosy Raj}}<br /> | ||
{{Small_Image_Link|No.png|Frozen Chasm}} | {{Small_Image_Link|No.png|Frozen Chasm}} | ||
|bigmap=MapBarHadur.png | |||
}} | }} | ||
<br /> | <br /> | ||
Line 32: | 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 | ||
| | |thumb=<image?> | ||
|biomes=<biomes?> | |biomes=<biomes?> | ||
|wonders=<wonders?> | |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. | ||
Line 42: | Line 44: | ||
==Example Source== | ==Example Source== | ||
<pre>{{Kingdom | <pre>{{Kingdom | ||
| | |thumb=No.png | ||
|biomes={{Small_Image_Link|No.png|Arctic}}<br /> | |biomes={{Small_Image_Link|No.png|Arctic}}<br /> | ||
{{Small_Image_Link|No.png|Tundra}} | {{Small_Image_Link|No.png|Tundra}} | ||
|wonders={{Small_Image_Link|No.png|Dariosy Raj}}<br /> | |wonders={{Small_Image_Link|No.png|Dariosy Raj}}<br /> | ||
{{Small_Image_Link|No.png|Frozen Chasm}} | {{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 }}