From Last Outlaws Online
Dwaintanner (talk | contribs) No edit summary Tag: Reverted |
Dwaintanner (talk | contribs) Undo revision 463 by Dwaintanner (talk) Tag: Undo |
||
Line 9: | Line 9: | ||
text-align: center; | text-align: center; | ||
font-size: 1.5em; | font-size: 1.5em; | ||
"><span>{{#if: {{{7|}}} | [[{{{7}}}|{{{1}}}]] | {{{1}}} }}</span><!--If 7th parameter exists, make the title a link.-->{{#if:{{{collapse|}}}|<span style=" | "><span>{{#if: {{{7|}}} | [[{{{7}}}|{{{1}}}]] | {{{1}}} }}</span><!--If 7th parameter exists, make the title a link.-->{{#if:{{{collapse|}}}|<span style="font-size: 1rem; float: right">{{nbsp}}[<span style="color: #4d97ff" class="mw-customtoggle-{{{collapseid|wikiframe}}}">{{{collapsetext|show/hide}}}</span>]</span>}} | ||
</div><div {{#if:{{{collapse|}}}|id="mw-customcollapsible-{{{collapseid|wikiframe}}}" class|class}}="{{#if:{{{collapse|}}}|box-content {{{collapse}}} mw-collapsible|box-content}}" style=" | </div><div {{#if:{{{collapse|}}}|id="mw-customcollapsible-{{{collapseid|wikiframe}}}" class|class}}="{{#if:{{{collapse|}}}|box-content {{{collapse}}} mw-collapsible|box-content}}" style=" | ||
padding: 5px; | padding: 5px; |
Revision as of 02:55, 22 May 2024
{{{1}}}
{{{2}}}
This documentation is transcluded from Template:LastOutlawswikiframe/doc.
A template that creates a stylized box around content.
Syntax
This template can take between six and seven parameters.
- {{LastOutlawswikiframe|<title>|<content>|<width>|<height>|<float>|<bottom margin>}}
- {{LastOutlawswikiframe|<title>|<content>|<width>|<height>|<float>|<bottom margin>|<title link>}}
The sixth parameter "bottom margin" defaults to 10px.
The seventh parameter "title link" is optional. If used, the LastOutlawswikiframe title will become a link with the parameter as its destination.