Шаблон:Technology: различия между версиями

Материал из CivCraft Вики | VimeWorld
Перейти к навигации Перейти к поиску
(Новая страница: «<includeonly>{|style="border:5px solid #333; border-radius: 20px; background-color:#{{#switch: {{{bg|}}} | 1=853b0c | 2=c55b11 | 3=736000 | 4=bf9100 | 5=a8d18d |…»)
 
Строка 14: Строка 14:
|{{{Provides}}}
|{{{Provides}}}
|}</includeonly><noinclude>
|}</includeonly><noinclude>
==Parameters==
'''bg''' - The tier number (1-11), or "w" for Wonders (This sets the background color)
'''Name''' - The technology name
'''Beakers''' - The number of beakers required to research this technology
'''Coins''' - The number of coins required to begin research on this technology
'''Requires''' - Technologies required to already be researched
'''Provides''' - Structures and upgrades provided by this technology
==Sample Usage==
<pre>{{Technology
|bg=w
|Name=The Great Pyramid
|Beakers=75,000
|Coins=75,000
|Requires=<b></b>
*Sailing
*Trade
*Advanced Masonry
*Automation
|Provides=<b></b>
*[[The Great Pyramid]] (Wonder)}}</pre>
'''Note:''' There needs to be ''something'' before the bulleted items, or they will not be parsed correctly. The simplest thing I've found is the empty <nowiki><b></b></nowiki> HTML tag.


[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Версия 00:57, 30 ноября 2018