Template:Advancement/doc: Difference between revisions

m
-ing
m (Added note for hover)
m (-ing)
 
Line 15: Line 15:
''Optional.'' <code>{{{desc-color}}}</code>, is used to give the description a different color.  Hex codes are inputted without the hashtag.  Example: <code><nowiki>{{Advancement|desc-color=A800A8}}</nowiki></code>
''Optional.'' <code>{{{desc-color}}}</code>, is used to give the description a different color.  Hex codes are inputted without the hashtag.  Example: <code><nowiki>{{Advancement|desc-color=A800A8}}</nowiki></code>


''Optional.'' <code>{{{hover}}}</code>, is used to display only the advancement icon until hovered over.  This is used to mimic the in-game advancement tab.  '''When using hover advancements, spacing needs to be replicated using non-breaking spaces, <code>&amp;nbsp;</code>.''' ''Note, this overlays the title and description over anything surround it, as it does in-game.''
''Optional.'' <code>{{{hover}}}</code>, is used to display only the advancement icon until hovered over.  This is used to mimic the in-game advancement tab.  '''When using hover advancements, spacing needs to be replicated using non-breaking spaces, <code>&amp;nbsp;</code>.''' ''Note, this overlays the title and description over anything surrounding it, as it does in-game.''


=== Icon ===
=== Icon ===
Bureaucrats, Check users, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, Widget editors
1,659

edits