Template:TextBox: Difference between revisions

From Medieval Engineers Wiki
Jump to navigation Jump to search
(Created page with "<div style="margin: 0% 15%; background: rgba(80,60,30,0.5); border: 1px solid rgb(183,143,81); border-width: 1px 1px 1px 4px; border-radius: 0.33em; text-align: center; color:...")
 
mNo edit summary
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div style="margin: 0% 15%; background: rgba(80,60,30,0.5); border: 1px solid rgb(183,143,81); border-width: 1px 1px 1px 4px; border-radius: 0.33em; text-align: center; color: white; padding: 40px 40px 40px 40px;">{{{1}}}</div><noinclude>
<includeonly><div class="text-box neutral">{{{1}}}</div></includeonly><noinclude>
==Example==
{{TextBox|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==
==Usage==
Line 5: Line 7:
<pre>{{TextBox|<text>}}</pre>
<pre>{{TextBox|<text>}}</pre>
*The code above can be pasted into your page and edited.
*The code above can be pasted into your page and edited.
==Example Source==
<pre>{{TextBox|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.}}</pre>
*Example bacon generated at https://baconipsum.com/
[[Category:Templates/Formatting]]</noinclude>
[[Category:Templates/Formatting]]</noinclude>

Latest revision as of 13:48, 11 May 2018

Example

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 TextBox template is meant to be used to make a decorative box around text. Its suggested use is to highlight text while separating it from the main body of text. This is not considered good wiki practice but visually suits our guides. The format of the box is hard-coded and doesn't not change per theme.

{{TextBox|<text>}}
  • The code above can be pasted into your page and edited.

Example Source

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