Template:Spells: Difference between revisions

From Wiki Grepolis EN
Jump to navigation
No edit summary
No edit summary
 
(11 intermediate revisions by the same user not shown)
Line 9: Line 9:
For a practical example view the source code of the [[Divine Sign]] spell</noinclude>
For a practical example view the source code of the [[Divine Sign]] spell</noinclude>
<includeonly>
<includeonly>
<table cellpadding="3px" cellspacing="0"; color:Black; background:#FFE7B4; border-top:1px solid #000000; border-left:1px solid #000000; border-right:1px solid #000000; border-bottom:1px solid #000000; font-size:100%;">
<table cellpadding="3px" cellspacing="0" style="width:50%; color:Black; background:#FFE7B4; border-top:1px solid #000000; border-left:1px solid #000000; border-right:1px solid #000000; border-bottom:1px solid #000000; font-size:100%;">
<tr>
<tr>
<th colspan="3" style="background:#344B6D; color:white"><span style="font-size:150%">{{{name}}}</span></th>
<th colspan="3" style="background:#344B6D; color:white"><span style="font-size:150%">{{{name}}}</span></th>
</tr>
</tr>
<tr>
<tr>
  <td rowspan="1" align="left" style="vertical-align:top">[[File:{{{picture}}}|{{{name}}}]]</td>
  <td rowspan="5" align="left" style="vertical-align:center">[[File:{{{picture}}}|{{{name}}}]]</td>
  <td colspan="1" align="center">'''Cost'''</td>
  <td colspan="2" align="center">'''Cost'''</td>
</tr>
</tr>
<tr>
<tr>
<td>[[File:Favor.png|Favor]]Favor</td>
<td align="center">{{{1}}} [[File:Favor.png|Favor]]Favor</td>  
  <td>{{{1}}}</td>
  </tr>
</tr>
<tr>
<tr>
  <td colspan="1" align="center">'''Description'''</td>
  <td colspan="2" align="center">'''Description'''</td>
</tr>
</tr>
<tr>  
<tr>  
Line 29: Line 28:
</table>
</table>
</includeonly>
</includeonly>
<noinclude>
[[Category:Template]]
</noinclude>

Latest revision as of 13:41, 27 December 2011

This template creates an information table for land units.

Use

{{Spells|FavorCost|Description|name=SpellName|picture=ImageFile}}

to include an information table with these values for a spell.

For a practical example view the source code of the Divine Sign spell