Template:Achievement: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Made it translatable. There might be an easier way, but this'll work for now)
(achievement link now goes to the right language of the page)
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{{If language suffix}}|80px]]  
| valign=top style="padding:0; margin:0" | '''[[achievements|{{Translation|{{#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

Revision as of 21:05, 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