Template:Expandable: Difference between revisions

From Medieval Engineers Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(3 intermediate revisions 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}}}&nbsp;
|-
|-
| {{{content}}}
| {{{content}}}
Line 15: Line 15:
==Usage==
==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.
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.
<pre>{{Expandable
<pre>{{Expandable
|title=<text>
|title=<text>

Latest revision as of 06:29, 6 January 2018

Example

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.
}}