Template:Achievement: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
No edit summary
(New demo template and removed reference to unused parameters)
 
Line 62: Line 62:
</div>
</div>
</includeonly><noinclude>[[Category:Templates]]
</includeonly><noinclude>[[Category:Templates]]
Usage: {{code|<nowiki>{{Achievement|Descent from Avernus}}</nowiki>}}


Result: {{Achievement|Descent From Avernus}}
Display the icon and description of a Baldur's Gate 3 achievement.


Change max-width either in '''em''' or in '''%''': {{code|<nowiki>{{Achievement|Action Surge|width=45em}}</nowiki>}}
== Examples ==
{{Template demo
| <nowiki>{{Achievement|Descent From Avernus}}</nowiki>
| <nowiki>{{Achievement|Action Surge}}</nowiki>
| <nowiki>{{Achievement|Busker}}</nowiki>
}}


Result: {{Achievement|Action Surge|width=45em}}
Remove padding by adding {{InfoBlob|<nowiki>nopad=1</nowiki>}}: {{code|<nowiki>{{Achievement|Busker|nopad=1}}</nowiki>}}
Result: {{Achievement|Busker|nopad=1}}
</noinclude>
</noinclude>

Latest revision as of 04:50, 20 July 2024


Display the icon and description of a Baldur's Gate 3 achievement.

Examples

Markup Renders as
{{Achievement|Descent From Avernus}}
A-Descent From Avernus.jpg

Descent From Avernus
Take control of the nautiloid and escape the Hells.

{{Achievement|Action Surge}}
A-Action Surge.jpg

Action Surge
Perform five attacks in one turn. Your enemies won't know what hit them (literally).

{{Achievement|Busker}}
A-Busker.jpg

Busker
Earn a hundred gold from playing sweet, sweet music in a single playthrough.