Difference between revisions of "Template:Vein"
Jump to navigation
Jump to search
(→Method) |
Ostentatio (talk | contribs) (Adding CSS) |
||
(9 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | + | <templatestyles src="InfoTable/styles.css" /> | |
− | == | + | <includeonly> |
− | + | {| style="float:right; margin:1em; width:200px;" cellpadding="3" cellspacing="0" border="1" | |
− | + | |+ style="font-weight: bold" | {{{name|{{PAGENAME}}}}} | |
− | = | + | |- |
− | + | | | |
− | + | {{#ifexist: Image:{{{image|{{{name|{{PAGENAME}}}}}.jpg}}} | |
+ | | [[Image: {{{image|{{{name|{{PAGENAME}}}}}.jpg}}}|center|120x120px|A {{lcfirst:{{{name|{{PAGENAME}}}}}}}]] | ||
+ | | {{#ifexist: Image:{{{image|{{{name|{{PAGENAME}}}}}.png}}} | ||
+ | | [[Image: {{{image|{{{name|{{PAGENAME}}}}}.png}}}|center|120x120px|A {{lcfirst:{{{name|{{PAGENAME}}}}}}}]] | ||
+ | | [[Image: {{{image|{{{name|{{PAGENAME}}}}}.jpg}}}|center|120x120px|A {{lcfirst:{{{name|{{PAGENAME}}}}}}}]] | ||
+ | }} | ||
+ | }} | ||
+ | |- | ||
+ | !class="infobox-header-row" | Result | ||
+ | |- | ||
+ | | | ||
+ | * [[{{{result|{{{metaltype}}} ore}}}]] | ||
+ | |} | ||
− | |||
− | |||
− | |||
− | |||
[[Category:Veins]] | [[Category:Veins]] | ||
[[Category:Cave tiles]] | [[Category:Cave tiles]] | ||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
+ | Template for veins and similar resources. | ||
+ | |||
+ | ==Usage== | ||
+ | <pre> | ||
+ | {{Vein|metaltype=iron}} | ||
+ | |||
+ | {{Vein|result=marble shards|image=Marble_wall.png}} | ||
+ | </pre> | ||
+ | |||
[[Category:Template]] | [[Category:Template]] | ||
</noinclude> | </noinclude> |
Latest revision as of 21:00, 22 April 2021
Template for veins and similar resources.
Usage
{{Vein|metaltype=iron}} {{Vein|result=marble shards|image=Marble_wall.png}}