Template:Achievement: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
m (fixed redlinks)
(Made it translatable. There might be an easier way, but this'll work for now)
Line 1: Line 1:
<includeonly>{| class="achievement"
<includeonly>{| class="achievement"
| style="width:80px" |[[File:{{{1}}}-achievement.png|link=achievements|80px]]  
| style="width:80px" |[[File:{{{1}}}-achievement.png|link=achievements|80px]]  
| valign=top style="padding:0; margin:0" | '''[[achievements|{{#switch:{{lc:{{{1}}}}}
| valign=top style="padding:0; margin:0" | '''[[achievements|{{Translation|{{#switch:{{lc:{{{1}}}}}
| computer-age-1 = Computer age 1
| computer-age-1 = Computer age 1
| computer-age-2 = Computer age 2
| computer-age-2 = Computer age 2
Line 41: Line 41:
| minions = Minions
| minions = Minions
| {{{1}}}
| {{{1}}}
}}]]'''<p style="margin: 0;">{{#switch:{{lc:{{{1}}}}}
}}}}]]'''<p style="margin: 0;">{{Translation|{{#switch:{{lc:{{{1}}}}}
| computer-age-1 = Produce 500 [[processing unit]]s per hour.
| computer-age-1 = Produce 500 [[processing unit]]s per hour.
| computer-age-2 = Produce 1.0k [[processing unit]]s per hour.
| computer-age-2 = Produce 1.0k [[processing unit]]s per hour.
Line 80: Line 80:
| solaris = Produce more than 10 GJ per hour using [[solar panel]]s.
| solaris = Produce more than 10 GJ per hour using [[solar panel]]s.
| minions = Have 100 combat robots or more following you.
| minions = Have 100 combat robots or more following you.
}}</p>
}}}}</p>
|}</includeonly><noinclude>{{doc}}</noinclude>
|}</includeonly><noinclude>{{doc}}</noinclude>

Revision as of 20:09, 9 August 2017

[View] [Edit] [Page history]

Documentation

This template displays an achievement on a page, for use to indicate relation to an achievement, or to enumerate them. To use, call the template with the internal name of an achievement, for example:

{{Achievement|iron-throne-2}}

Would produce

Iron-throne-2-achievement.png Iron throne 2

Produce 200k iron plates per hour.

List of all templates