Template:Expandable: Difference between revisions
Jump to navigation
Jump to search
CptTwinkie (talk | contribs) mNo edit summary |
CptTwinkie (talk | contribs) mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><!-- | <includeonly><!-- | ||
-->{| role="presentation" class="wikitable mw-collapsible mw-collapsed" | -->{| role="presentation" class="wikitable mw-collapsible mw-collapsed" | ||
! {{{title}}} | ! {{{title}}} | ||
|- | |- | ||
| {{{content}}} | | {{{content}}} | ||
Line 16: | Line 16: | ||
The Expandable template is meant to be used to collapse a section of content. This can be any content that is "bulky" and takes up a lot of space, making navigation of the article difficult. By collapsing this information, it is out of the way until the reader expands it. | The Expandable template is meant to be used to collapse a section of content. This can be any content that is "bulky" and takes up a lot of space, making navigation of the article difficult. By collapsing this information, it is out of the way until the reader expands it. | ||
*Hint: This works well if you embed lengthy source code inside of it. | *Hint: This works well if you embed lengthy source code inside of it. | ||
*Hint: | *Hint: Source code content has no maximum size and will expand regardless of screen size. | ||
<pre>{{Expandable | <pre>{{Expandable | ||
|title=<text> | |title=<text> |
Latest revision as of 06:29, 6 January 2018
Example
Bacon Ipsum |
---|
Bacon ipsum dolor amet commodo salami meatloaf doner adipisicing fatback ad in veniam qui corned beef mollit consectetur. Ball tip meatball pork voluptate labore. In nulla jowl rump ullamco short loin venison, leberkas est. Est filet mignon flank, esse ut aliqua consequat irure occaecat picanha kielbasa minim in jerky eiusmod. Anim t-bone tempor nostrud tail ea jowl ham cupidatat eiusmod eu ut swine boudin. Leberkas exercitation ea pariatur short ribs beef ribs prosciutto tri-tip meatball commodo anim. |
Usage
The Expandable template is meant to be used to collapse a section of content. This can be any content that is "bulky" and takes up a lot of space, making navigation of the article difficult. By collapsing this information, it is out of the way until the reader expands it.
- Hint: This works well if you embed lengthy source code inside of it.
- Hint: Source code content has no maximum size and will expand regardless of screen size.
{{Expandable |title=<text> |content=<content> }}
- The code above can be pasted into your page and edited.
- All variables must be used
Example Source
{{Expandable |title=Bacon Ipsum |content=Bacon ipsum dolor amet commodo salami meatloaf doner adipisicing fatback ad in veniam qui corned beef mollit consectetur. Ball tip meatball pork voluptate labore. In nulla jowl rump ullamco short loin venison, leberkas est. Est filet mignon flank, esse ut aliqua consequat irure occaecat picanha kielbasa minim in jerky eiusmod. Anim t-bone tempor nostrud tail ea jowl ham cupidatat eiusmod eu ut swine boudin. Leberkas exercitation ea pariatur short ribs beef ribs prosciutto tri-tip meatball commodo anim. }}
- Example bacon generated at https://baconipsum.com/