Πρότυπο Ξόρκια: Διαφορά μεταξύ των αναθεωρήσεων

Από Wiki Grepolis GR
Jump to navigation
(Νέα σελίδα με '{{Spells|FavorCost|Description|name=SpellName|picture=ImageFile}}')
 
Χωρίς σύνοψη επεξεργασίας
 
Γραμμή 1: Γραμμή 1:
{{Spells|FavorCost|Description|name=SpellName|picture=ImageFile}}
<noinclude>This template creates an information table for land units.
 
Use
 
<nowiki>{{Spells|FavorCost|Description|name=SpellName|picture=ImageFile}}</nowiki>
 
to include an information table with these values for a spell.
 
For a practical example view the source code of the [[Divine Sign]] spell</noinclude>
<includeonly>
<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>
<th colspan="3" style="background:#344B6D; color:white"><span style="font-size:150%">{{{name}}}</span></th>
</tr>
<tr>
<td rowspan="5" align="left" style="vertical-align:center">[[File:{{{picture}}}|{{{name}}}]]</td>
<td colspan="2" align="center">'''Cost'''</td>
</tr>
<tr>
<td align="center">{{{1}}} [[File:Favor.png|Favor]]Favor</td>
</tr>
<tr>
<td colspan="2" align="center">'''Description'''</td>
</tr>
<tr>
<td>{{{2}}}</td>
</tr>
</table>
</includeonly>
 
<noinclude>
[[Category:Template]]
</noinclude>

Τελευταία αναθεώρηση της 01:59, 14 Φεβρουαρίου 2012

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