Template:HeroPortRow: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
(Initial template creation)
 
(update examples and add more exists checks)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>|-
|-
| {{{1|}}}
| {{{1|}}}
| [[{{{2|}}}]]
| [[{{{link|{{{2|}}}}}}|{{{name|{{{2|}}}}}}]]
| [[File:Hero {{{2|}}}.png]]
| {{{hotaonly|{{exist|File:Hero {{{pic|{{{2|}}}}}}.png|[[File:Hero {{{pic|{{{2|}}}}}}.png]]}}}}}
| {{exist|File:Hero {{{2|}}} (HotA).png|[[File:Hero {{{2|}}} (HotA).png]]}}
| {{exist|File:Hero {{{pic|{{{2|}}}}}}{{{hotaonly| (HotA)}}}.png|[[File:Hero {{{pic|{{{2|}}}}}}{{{hotaonly| (HotA)}}}.png]]}}
| [[File:Hero {{{2|}}} small.gif]]
| {{{hotaonly|{{exist|File:Hero {{{pic|{{{2|}}}}}} small.gif|[[File:Hero {{{pic|{{{2|}}}}}} small.gif]]}}}}}
| {{exist|File:Hero {{{2|}}} (HotA) small.gif|[[File:Hero {{{2|}}} (HotA) small.gif]]}}
| {{exist|File:Hero {{{pic|{{{2|}}}}}} {{{hotaonly|(HotA) }}}small.gif|[[File:Hero {{{pic|{{{2|}}}}}} {{{hotaonly|(HotA) }}}small.gif]]}}</includeonly><noinclude>
</includeonly><noinclude>
{| class="sortable" frame=box cellspacing=0 style="background-color:#{{green 3}}; padding:0;"
{| class="sortable" frame=box cellspacing=0 style="background-color:#{{green 3}}; image-rendering:pixelated; padding:0;"
|- style="text-align:center; background-color:#{{green 2}};"
|- style="text-align:center; background-color:#{{green 2}};"
! File name
! File name
Line 16: Line 14:
! class="unsortable" style="padding:0 10;" | SoD<br>(sm)
! class="unsortable" style="padding:0 10;" | SoD<br>(sm)
! class="unsortable" style="padding:0 10;" | HotA<br>(sm)
! class="unsortable" style="padding:0 10;" | HotA<br>(sm)
{{HeroPortRow|HPL000SH.PCX|Adrienne}}
{{HeroPortRow|HPL000SH.PCX|Adrienne}}
{{HeroPortRow|HPL035AL.PCX|Neela}}
{{HeroPortRow|HPL035AL.PCX|Neela}}
{{HeroPortRow|HPL002SH.PCX|Christian|name=Christian<br>(campaign)|pic=Christian 2}}
{{HeroPortRow|HPLP02.PCX|Jeremy|hotaonly=}}
{{HeroPortRow|HPL116BS.PCX|Alkin}}
{{HeroPortRow|HPL116BX|Alkin (campaign)}}
|}


|}
==Parameters==
* 1st=filename
* 2nd=hero name
* link=optional alternate page link
* name=optional alternate display name
* pic=optional alternate hero name for picture
* hotaonly=add and leave blank if hero is only found in hota
[[category:text templates]]
[[category:text templates]]
</noinclude>
</noinclude>

Latest revision as of 01:33, 17 January 2024

File name Hero name SoD
Image
HotA
Image
SoD
(sm)
HotA
(sm)
HPL000SH.PCX Adrienne
HPL035AL.PCX Neela
HPL002SH.PCX Christian
(campaign)
HPLP02.PCX Jeremy
HPL116BS.PCX Alkin
HPL116BX Alkin (campaign)

Parameters[edit]

  • 1st=filename
  • 2nd=hero name
  • link=optional alternate page link
  • name=optional alternate display name
  • pic=optional alternate hero name for picture
  • hotaonly=add and leave blank if hero is only found in hota