テンプレート:Techtree/Building
提供: StarCraft II: Legacy of the Void 日本語Wiki
(view - edit) Documentation
Use
- Template for techtrees
- |name= for the displayed name
- |image= for the main image of the box
- |link= if the link is not the same as the name (optional)
- |unitX=, |upgradeX= image of unit/upgrade unlocked by the building
- |unitXlink=, |upgradeXlink= link to the unit/upgrade unlocked by the building
- |hasonlyonechild= set true if a box has exactly 1 child
- |children= put in more boxes as child elements
Example
{{Techtree/Start|width=500}} {{Techtree/Building |name=Hive |image=Techtree-building-zerg-hive.png |upgrade1=techtree-unit-zerg-viper.png |upgrade1link=Viper |children= {{Techtree/Building |name=Ultralisk Cavern |image=Techtree-building-zerg-ultraliskcavern.png |unit1=Techtree-unit-zerg-ultralisk.png |unit1link=Ultralisk }} {{Techtree/Building |name=Greater Spire |image=Techtree-building-zerg-greaterspire.png |unit1=Techtree-unit-zerg-broodlord.png |unit1link=Brood Lord }} }} {{Techtree/End}}
gives
Copy/Paste
{{Techtree/Building |name= |image= |link= |unit1= |unit1link= |unit2= |unit2link= |unit3= |unit3link= |unit4= |unit4link= |upgrade1= |upgrade1link= |upgrade2= |upgrade2link= |upgrade3= |upgrade3link= |upgrade4= |upgrade4link= |upgrade5= |upgrade5link= |upgrade6= |upgrade6link= |upgrade7= |upgrade7link= |upgrade8= |upgrade8link= |upgrade9= |upgrade9link= |upgrade10= |upgrade10link= |children= }}