Difference between revisions of "Template:Show achievement plain"

From Team Fortress Wiki
Jump to: navigation, search
m
 
Line 1: Line 1:
<includeonly>{{Dictionary/achievements/{{lc:{{{1|}}}}}/{{lc:{{{2|}}}}}-{{{view}}}}}</includeonly>
+
<includeonly>{{Dictionary/achievements/{{lc:{{{1|}}}}}/{{lc:{{{2|}}}}}-{{{view}}}}}</includeonly><noinclude>
 +
{{Doc begin}}
 +
This is a wrapper for {{tl|Dictionary/achievements}} which results in the achievement name/description/image name, as opposed to the combined form shown from {{tl|Show achievement}}.
 +
 
 +
== Example usage ==
 +
{{tlx|show achievement plain|General|Dynasty|4=view=title}} produces <code>{{show achievement plain|General|Dynasty|view=title}}</code>
 +
<br>
 +
{{tlx|show achievement plain|General|Dynasty|4=view=desc}} produces <code>{{show achievement plain|General|Dynasty|view=desc}}</code>
 +
<br>
 +
{{tlx|show achievement plain|General|Dynasty|4=view=icon}} produces <code>{{show achievement plain|General|Dynasty|view=icon}}</code>
 +
<br><br>
 +
compared to {{tlx|show achievement|General|Dynasty}} which produces {{show achievement|General|Dynasty}}
 +
</noinclude>

Latest revision as of 03:35, 2 June 2024

Documentation for Show achievement plain

This is a wrapper for {{Dictionary/achievements}} which results in the achievement name/description/image name, as opposed to the combined form shown from {{Show achievement}}.

Example usage

{{show achievement plain|General|Dynasty|view=title}} produces Dynasty
{{show achievement plain|General|Dynasty|view=desc}} produces Win 20 games.
{{show achievement plain|General|Dynasty|view=icon}} produces Tf win multiplegames.png

compared to {{show achievement|General|Dynasty}} which produces

Dynasty
Dynasty
Win 20 games.