Sjabloon:Show: verschil tussen versies
Naar navigatie springen
Naar zoeken springen
Nieuwe pagina aangemaakt met '<div class="NavFrame collapsed" style="border-style: none; padding: 0px;"><div class="NavHead" style="background: transparent; text-align: {{{headalign|left}}}; pad...' |
(geen verschil)
|
Huidige versie van 17 jul 2013 om 18:07
Header
Content
[bewerken] []
Template documentation
This template is for use when you wish to minimise information to be expanded at the user's discretion.
Usage
This usage:
{{show
|Header!
|Content!
This information here will not show until you click the "show" button. It's then hidden by collapsing the section when you press "hide" button.}}
Yields this output:
Header!
Content!
This information here will not show until you click the "show" button. It's then hidden by collapsing the section when you press "hide" button.
To use this in a table:
{| class="wikitable" width=300px
|-
|
{{show
|Header!
|Content!
This information here will not show until you click the "show" button. It's then hidden by collapsing the section when you press "hide" button.}}
|}
...Yields this:
|
Header!
Content!
This information here will not show until you click the "show" button. It's then hidden by collapsing the section when you press "hide" button. |
The alignment of the header text and content text can be manipulated using the parameters |headalign= and |textalign=. For example, the usage
{| class="wikitable" width=300px
|-
|
{{show
|Header!
|Content!
|headalign=center
|textalign=right}}
|-
|}
yields the output
|
Header!
Content!
|
Note that you should not put the alignment parameters in quotes (i.e., you should not use "center", but just center, or the color of the header may change. Also, while headalign=right is possible, it causes the header to overlap with the [show] button.
| The above documentation is transcluded from Sjabloon:Show/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |