User:Kiomadoushi/Template:Hide

From Guild Wars 2 Wiki
Jump to: navigation, search


Usage[edit]

{{User:Kiomadoushi/Template:Hide |w=85
|content |color=#000000 |bgcolor=#FFFFFF
|header=Contains text |color2=#000000 |bgcolor2=#FFFFFF
}} 
  • These are the default values


PLEASE do not use to hide spoilers. use Template:Spoilers instead


Parameters[edit]

  • w = a number 1-100
    • This is in % of space available that is used for the width of the bar, with the "show" button appearing on the far right
    • Nested use will result in its width using the width of the one it is nested in as the max (100%) and adjusting from there
      • 50% of 50% results in spanning 25% of the screen, not filling the whole first block
  • content
    • You do not need to use anything specific to show this parameter, simple typing fills in this parameter
  • color = color name or code
    • This affects the text color of the typed text
  • bgcolor = color name or code
    • This affects the background color where the typed text appears, separate from the header background color
  • header = header title
    • This allows you to customize what it says where you're hiding text.
  • color2 = color name or code
    • This affects the text color of the header
  • bgcolor2 = color name or code
    • This affects the background color where the header appears, separate from the typed text background color


Example[edit]

Useful to hide large blocks of text that make a page unsightly and can be ignored (like an additional table), or that you want to look special by adding colors.


-- (Without using the context title)

{{User:Kiomadoushi/Template:Hide|I like pie.}} 


-- (A better example of hiding something specific)

{{User:Kiomadoushi/Template:Hide |w=50
| header=Guild Wars 2 Warrior
| bgcolor2={{w-color|medium}}
| color2=#333300
| The Guild Wars 2 Warrior wields greatswords, hammers, rifles, longbows, swords, axes, maces, shields, and warhorns. That means
  there are 19 possible weapon sets available, making the Warrior as proficient at weapons as Elementalists are at magic, with 20
  available sets (5 and 4 attunements). The Warrior is the master of weapons.
| bgcolor={{w-color|light}}
| color=#663300
}}