Template:Friendship: Difference between revisions

435 bytes added ,  17:25, 19 June 2023
Add commented-out usage examples, add cleanup comment as reminder to create documentation
(Change level star image to link to friendship rewards anchor on character page)
(Add commented-out usage examples, add cleanup comment as reminder to create documentation)
Line 1: Line 1:
<span id="nametemplate">[[File:Friendship{{#if:{{{2|}}}|_{{{2|}}}|}}.png|20px|link={{{1|}}}#Friendship_Rewards]] [[{{{1|}}}]] {{#if:{{{nolvl|}}}||{{#if:{{{2|}}}|Level {{{2|}}}|}}}}</span><noinclude>[[Category:Formatting templates]]</noinclude>
<span id="nametemplate">[[File:Friendship{{#if:{{{2|}}}|_{{{2|}}}|}}.png|20px|link={{{1|}}}#Friendship_Rewards]] [[{{{1|}}}]] {{#if:{{{nolvl|}}}||{{#if:{{{2|}}}|Level {{{2|}}}|}}}}</span><noinclude>
{{cleanup|Create documentation with following examples}}<!--Use name template for Friendship reward values: {{name|Friendship|350}}
Use this template for Friendship Level, inserts number into star image: {{Friendship|Remy|3}}
If no number provided, star image is empty: {{Friendship|Elsa}}
Use nolvl param to remove the "Level X" label (usage mostly replaced by the updated quest template): {{Friendship|Minnie Mouse|7|nolvl=yes}}-->
[[Category:Formatting templates]]</noinclude>
moderator
26,886

edits