User:ShushMaster/Test1: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
(still cannot choose the prefix style)
No edit summary
Line 1: Line 1:
{| cellpadding=0 cellspacing=0 style="font-size: 90%; background-color:#{{tan 3}}; width: 185px; border:1px solid; float:{{{float|right}}};"
<includeonly>[[File: Creature portrait {{{image|{{{1}}}}}} small.gif|{{{1}}}|link={{{2|{{{1}}}}}}]]{{-}}[[{{{2|{{{1}}}}}}|{{{name|{{{1}}}}}}]]</includeonly><noinclude>
|-
'''test1''' is short of creature name.
| colspan=2 style="text-align:center; height: 25px; color:white; background-color:#{{tan 1}}; font-size:111%;" |'''Artifacts'''
|-
| colspan=2 style="text-align:center; background-color:#{{tan 4}}; font-size:111%;" | '''{{{1|artifact class}}}'''
|-
| style="text-align:center; width:18px;"| '''[[Artifact#Class|<span title="Combination" style="color:black;">C</span>]]''' || style="padding-right:5px;" |[[Helm of the Alabaster Unicorn]]
|-
| style="text-align:center; width:18px;"| '''[[Artifact#Class|<span title="Treasure">t</span>]]''' || style="padding-right:5px;" |[[Bowstring of the Unicorn's Mane]]
|- 
| style="text-align:center; width:18px;"| '''[[Artifact#Class|<span title="Major">M</span>]]''' || style="padding-right:5px;" |[[Vampire's Cowl]]
|- 
| style="text-align:center; width:18px;"| '''[[Artifact#Class|<span title="Relic">R</span>]]''' || style="padding-right:5px;" |[[Vampire's Cowl]]
|- 
| style="text-align:center; width:18px;"| '''[[Artifact#Class|<span title="Minor">m</span>]]''' || style="padding-right:5px;" |[[Vampire's Cowl]]
|- 
| style="text-align:center; width:18px;"| '''[[Artifact#Class|<span title="Relic">R</span>]]''' || style="padding-right:5px;" |[[Vampire's Cowl]]
|- 
| style="text-align:center; width:18px;"| '''[[Artifact#Class|<span title="Relic">R</span>]]''' || style="padding-right:5px;" |[[Vampire's Cowl]]
|- 
| style="text-align:center; width:18px;"| '''[[Artifact#Class|<span title="Relic">R</span>]]''' || style="padding-right:5px;" |[[Vampire's Cowl]]
|- 
| style="text-align:center; width:18px;"| '''[[Artifact#Class|<span title="Relic">R</span>]]''' || style="padding-right:5px;" |[[Vampire's Cowl]]
|- 
| style="text-align:center; width:18px;"| '''[[Artifact#Class|<span title="Relic">R</span>]]''' || style="padding-right:5px;" |[[Vampire's Cowl]]
|- 
| style="text-align:center; width:18px;"| '''[[Artifact#Class|<span title="Relic">R</span>]]''' || style="padding-right:5px;" |[[Vampire's Cowl]]
|-
| style="text-align:center; width:18px;"| '''[[Artifact#Class|<span title="Combination">C</span>]]''' || style="padding-right:5px;" |[[Helm of Heavenly Enlightenment]]
|-
| colspan=2 style="font-size:100%; text-align:center; background-color:#{{tan 4}};" | '''[[:Template:Helm artifacts|Helm]]'''
|-
| colspan=2 style="font-size:100%; text-align:center; background-color:#{{tan 4}};" | '''[[:Template:Necklace artifacts|Necklace]]'''
|-
| colspan=2 style="font-size:100%; text-align:center; background-color:#{{tan 4}};" | '''[[:Template:Ring artifacs|Ring]]'''
|-
| colspan=2 style="font-size:100%; text-align:center; background-color:#{{tan 4}};" | '''[[:Template:Weapon artifacs|Weapon]]'''
|-
| colspan=2 style="font-size:100%; text-align:center; background-color:#{{tan 4}};" | '''[[:Template:Torso artifacts|Torso]]'''
|-
| colspan=2 style="font-size:100%; text-align:center; background-color:#{{tan 4}};" | '''[[:Template:Shield artifacs|Shield]]'''
|-
| colspan=2 style="font-size:100%; text-align:center; background-color:#{{tan 4}};" | '''[[:Template:Miscellaneous artifacs|Miscellaneous]]'''
|-
| colspan=2 style="font-size:100%; text-align:center; background-color:#{{tan 4}};" | '''[[:Template:Cape artifacs|Cape]]'''
|-
| colspan=2 style="font-size:100%; text-align:center; background-color:#{{tan 4}};" | '''[[:Template:Feet artifacts|Feet]]'''
|}


{| cellpadding=0 cellspacing=0 style="font-size: 90%; background-color:#{{tan 3}}; width: 185px; border:1px solid; float:{{{float|right}}};"
== Use ==
|-
The template is used to show a creature's image and a name, both leading to the creature article. The variables for the template are:
| colspan=3 style="text-align:center; height: 25px; color:white; background-color:#{{tan 1}}; font-size:111%;" |'''Artifacts'''
1 = Creature name
|-
2 = Link (if needed)
| colspan=3 style="text-align:center; background-color:#{{tan 4}}; font-size:111%;" | '''{{{1|artifact class}}}'''
|-
| style="text-align:center; width:24px;"| '''[[Artifact#Class|<span title="Combination">[C]</span>]]''' || colspan=2 style="padding-right:5px;" |[[Helm of the Alabaster Unicorn]]
|-
| style="text-align:center; width:20px;"| '''[[Artifact#Class|<span title="Treasure">[t]</span>]]''' ||colspan=2 style="padding-right:5px;" |[[Bowstring of the Unicorn's Mane]]
|- 
| style="text-align:center; width:20px;"| '''[[Artifact#Class|<span title="Major">[M]</span>]]''' ||colspan=2 style="padding-right:5px;" |[[Vampire's Cowl]]
|- 
| style="text-align:center; width:20px;"| '''[[Artifact#Class|<span title="Relic">[R]</span>]]''' ||colspan=2 style="padding-right:5px;" |[[Vampire's Cowl]]
|- 
| style="text-align:center; width:20px;"| '''[[Artifact#Class|<span title="Minor">[m]</span>]]''' ||colspan=2 style="padding-right:5px;" |[[Vampire's Cowl]]
|- 
| style="text-align:center; width:20px;"| '''[[Artifact#Class|<span title="Major">[M]</span>]]''' ||colspan=2 style="padding-right:5px;" |[[Vampire's Cowl]]
|- 
| style="text-align:center; width:20px;"| '''[[Artifact#Class|<span title="Major">[M]</span>]]''' ||colspan=2 style="padding-right:5px;" |[[Vampire's Cowl]]
|- 
| style="text-align:center; width:20px;"| '''[[Artifact#Class|<span title="Major">[M]</span>]]''' ||colspan=2 style="padding-right:5px;" |[[Vampire's Cowl]]
|- 
| style="text-align:center; width:20px;"| '''[[Artifact#Class|<span title="Major">[M]</span>]]''' ||colspan=2 style="padding-right:5px;" |[[Vampire's Cowl]]
|- 
| style="text-align:center; width:20px;"| '''[[Artifact#Class|<span title="Major">[M]</span>]]''' ||colspan=2 style="padding-right:5px;" |[[Vampire's Cowl]]
|- 
| style="text-align:center; width:20px;"| '''[[Artifact#Class|<span title="Relic">[R]</span>]]''' ||colspan=2 style="padding-right:5px;" |[[Vampire's Cowl]]
|-
| style="text-align:center; width:20px;"| '''[[Artifact#Class|<span title="Combination">[C]</span>]]''' ||colspan=2 style="padding-right:5px;" |[[Helm of Heavenly Enlightenment]]
|-
| style="width:20px; background-color:#{{tan 4}};"| ||style="font-size:100%; width:62px; text-align:right; padding-right:8px; background-color:#{{tan 4}};" | '''[[:Template:Helm artifacts|Helm]]''' || style="font-size:100%; text-align:left; padding-left:8px; background-color:#{{tan 4}};" | '''[[:Template:Ring artifacs|Ring]]'''
|-
| style="width:20px; background-color:#{{tan 4}};"| ||style="font-size:100%; text-align:right; padding-right:8px; background-color:#{{tan 4}};" | '''[[:Template:Necklace artifacts|Necklace]]''' || style="font-size:100%; text-align:left; padding-left:8px; background-color:#{{tan 4}};" | '''[[:Template:Weapon artifacs|Weapon]]'''
|-
| style="width:20px; background-color:#{{tan 4}};"| ||style="font-size:100%; text-align:right; padding-right:8px; background-color:#{{tan 4}};" | '''[[:Template:Torso artifacts|Torso]]''' || style="font-size:100%; text-align:left; padding-left:8px; background-color:#{{tan 4}};" | '''[[:Template:Shield artifacs|Shield]]'''
|-
| colspan=3 style="font-size:100%; text-align:center; background-color:#{{tan 4}};" | '''[[:Template:Miscellaneous artifacs|Miscellaneous]]'''
|-
| style="width:20px; background-color:#{{tan 4}};"| ||style="font-size:100%; text-align:right; padding-right:8px; background-color:#{{tan 4}};" | '''[[:Template:Feet artifacts|Feet]]''' || style="font-size:100%; text-align:left; padding-left:8px; background-color:#{{tan 4}};" | '''[[:Template:Cape artifacs|Cape]]'''
|}
<noinclude>
{{Artifact slot based navigational box|title=Capes|content={{Test|Ambassador's Sash|Major|M}}
{{Test|Angel{{-}}Wings|Relic|R}}
{{Test|Cape{{-}}of{{-}}Conjuring|Treasure|t}}
{{Test|Cape{{-}}of{{-}}Velocity|Major|M}}
{{Test|Cloak{{-}}of{{-}}the{{-}}Undead{{-}}King|Combo|C}}
{{Test|Dragon{{-}}Wing{{-}}Tabard|Minor|m}}
{{Test|Everflowing{{-}}Crystal{{-}}Cloak|Major|M}}
{{Test|Recanter's{{-}}Cloak|Major|M}}
{{Test|Surcoat{{-}}of{{-}}Counterpoise|Major|M}}
{{Test|Vampire's{{-}}Cowl|Minor|m}}
{{Test|Cape{{-}}of{{-}}Silence|Major|M|source={{-}}{{withhota}}}}
{{Test|Diplomat's{{-}}Cloak|Combo|C|source={{-}}{{withhota}}}}}}
{{cape artifacts}}


[[Category:Navigational boxes|Artifacts, minor]]</noinclude>
Writing code
<pre>{{test1|'creature name'}}</pre>
 
for example
<pre>{{test1|Rogue}}</pre>
 
will give<br>
{{test1|Rogue|name=}}{{test1|Halfling|name=Rogues and Halflings}}
 
 
[[Category: Table templates|Creature name]]
__NOTOC__</noinclude>

Revision as of 11:42, 28 July 2018

test1 is short of creature name.

Use

The template is used to show a creature's image and a name, both leading to the creature article. The variables for the template are: 1 = Creature name 2 = Link (if needed)

Writing code

{{test1|'creature name'}}

for example

{{test1|Rogue}}

will give
Template:Test1Template:Test1