Difference between revisions of "Template:Hint"
From Project: Gorgon Wiki
Extractum11 (talk | contribs) (Reverted to old version because this one was breaking formatting and/or didn't work on multiple pages, will try to fix tomorrow) |
Extractum11 (talk | contribs) (Should work now. @Trimoon your first edit worked, just needed the correct syntax) |
||
Line 1: | Line 1: | ||
− | <abbr style="color:#484;font-weight:bold;" title="{{{1|Hint text goes here!}}}">Hint</abbr><noinclude> | + | <abbr style="color:#484;font-weight:bold;" title="{{#replace:{{{1|Hint text goes here!}}}|"|''}}">Hint</abbr><noinclude> |
__NOTOC__ | __NOTOC__ | ||
==Description== | ==Description== | ||
Line 8: | Line 8: | ||
====Notes==== | ====Notes==== | ||
* Summarize the hint because it won't use linebreaks or any formatting, and it shows on mouseover so too long text will not be readable. | * Summarize the hint because it won't use linebreaks or any formatting, and it shows on mouseover so too long text will not be readable. | ||
− | |||
* I am well aware that this isn't tablet friendly, but using the template is recommended as we can change this into a Javascript popup at a later time. | * I am well aware that this isn't tablet friendly, but using the template is recommended as we can change this into a Javascript popup at a later time. | ||
Revision as of 09:51, 25 February 2016
Hint
Description
Use this template to hide spoiler-y information in a tooltip. This gives some room for players to look up articles without having too much info spoiled for them.
Additionally, Hints fit "inline" so they can be useful to tidy up sections of a page, where the Template:Spoiler is too big and doesn't play well in a table.
Notes
- Summarize the hint because it won't use linebreaks or any formatting, and it shows on mouseover so too long text will not be readable.
- I am well aware that this isn't tablet friendly, but using the template is recommended as we can change this into a Javascript popup at a later time.
Examples
Example of a hint for a NPC who "Loves Vegetarian Food":
{{Hint|Baked Beet +41, Hash Browns +11.}}