Changes
Jump to navigation
Jump to search
no edit summary
{{#ifeq:{{{align|}}}|center|<div class="center" style="width:auto; margin-left:auto; margin-right:auto;>|}}{{#if:{{{span|}}}|<span style="|<div style="}}<!--
-->display:{{{box type|{{#if:{{{wide|}}}|block|{{#if:{{{inline|}}}|inline|inline-block}}}}}}};<!--
-->border-style: {{{style|solid}}};<!--
-->padding: {{{padding|{{#if:{{{inline|}}}|1px|3px}}}}};<!--
-->padding-top: {{{top padding|}}};<!--
-->padding-botton: {{{bottom padding|}}};<!--
-->padding-left: {{{left padding|}}};<!--
-->padding-right: {{{right padding|}}};<!--
-->border-color: {{{border color|{{#switch:{{{type}}}|black=black|white=white|transparent=transparent||#default=black}}}}};<!--
-->border-width: {{{border size|{{#switch:{{{type}}}|black|white|transparent=0px|#default=2px}}}}};<!--
-->background-color: {{{color|{{{background|{{#switch:{{{type}}}|black=black|white=white|transparent=transparent|#default=white}}}}}}}};<!--
-->color: {{{text color|{{#switch:{{{type}}}|black=white|white|transparent=black|#default=black}}}}};<!--
-->text-align: {{{text align|}}};<!--
-->letter-spacing: {{{spacing|}}};<!--
-->font-family: {{{font|}}};<!--
-->font-size: {{{font size|{{{text size|}}}}}};<!--
-->margin: {{{margin|3px}}};<!--
-->margin-top: {{{top margin|}}};<!--
-->margin-botton: {{{bottom margin|}}};<!--
-->margin-left: {{{left margin|}}};<!--
-->margin-right: {{{right margin|}}};<!--
-->height: {{{height|}}};<!--
-->width: {{{width|}}};<!--
-->float: {{{align|right}}};<!--
-->{{{CSS|}}}"><!--
-->{{#ifeq:{{{header|}}}|||<u>'''{{{header}}}'''</u><br>}}{{#ifeq:{{NAMESPACE}}|Template|{{{1|Sample Text}}}|{{{1|}}}}}{{#if:{{{2|}}}|<br/><small>{{{2}}}</small>}}{{#if:{{{span|}}}|</span>|</div>}}{{#ifeq:{{{align|}}}|center|</div>|}}<!--
-->{{#invoke:Check for unknown parameters|check|unknown=[[Category:Pages using box-r with unknown parameters|_VALUE_{{PAGENAME}}]]|preview=Page using [[Template:Box-r]] with unknown parameter "_VALUE_"|ignoreblank=y| 1 | 2 | align | background | border color | border size | bottom margin | bottom padding | box type | color | CSS | font | font size | header | height | inline | left margin | left padding | margin | padding | right margin | right padding | spacing | span | style | text align | text color | text size | top margin | top padding | type | wide | width | float}}<noinclude>
<!--categories and Template Data in the documentation please-->{{doc|content=
{{Wrapper template}} It aligns the box the the right by default. Keep that in mind when looking at the documentation.
----
{{Template:Box/doc|no-special=y}}}}
</noinclude>
-->display:{{{box type|{{#if:{{{wide|}}}|block|{{#if:{{{inline|}}}|inline|inline-block}}}}}}};<!--
-->border-style: {{{style|solid}}};<!--
-->padding: {{{padding|{{#if:{{{inline|}}}|1px|3px}}}}};<!--
-->padding-top: {{{top padding|}}};<!--
-->padding-botton: {{{bottom padding|}}};<!--
-->padding-left: {{{left padding|}}};<!--
-->padding-right: {{{right padding|}}};<!--
-->border-color: {{{border color|{{#switch:{{{type}}}|black=black|white=white|transparent=transparent||#default=black}}}}};<!--
-->border-width: {{{border size|{{#switch:{{{type}}}|black|white|transparent=0px|#default=2px}}}}};<!--
-->background-color: {{{color|{{{background|{{#switch:{{{type}}}|black=black|white=white|transparent=transparent|#default=white}}}}}}}};<!--
-->color: {{{text color|{{#switch:{{{type}}}|black=white|white|transparent=black|#default=black}}}}};<!--
-->text-align: {{{text align|}}};<!--
-->letter-spacing: {{{spacing|}}};<!--
-->font-family: {{{font|}}};<!--
-->font-size: {{{font size|{{{text size|}}}}}};<!--
-->margin: {{{margin|3px}}};<!--
-->margin-top: {{{top margin|}}};<!--
-->margin-botton: {{{bottom margin|}}};<!--
-->margin-left: {{{left margin|}}};<!--
-->margin-right: {{{right margin|}}};<!--
-->height: {{{height|}}};<!--
-->width: {{{width|}}};<!--
-->float: {{{align|right}}};<!--
-->{{{CSS|}}}"><!--
-->{{#ifeq:{{{header|}}}|||<u>'''{{{header}}}'''</u><br>}}{{#ifeq:{{NAMESPACE}}|Template|{{{1|Sample Text}}}|{{{1|}}}}}{{#if:{{{2|}}}|<br/><small>{{{2}}}</small>}}{{#if:{{{span|}}}|</span>|</div>}}{{#ifeq:{{{align|}}}|center|</div>|}}<!--
-->{{#invoke:Check for unknown parameters|check|unknown=[[Category:Pages using box-r with unknown parameters|_VALUE_{{PAGENAME}}]]|preview=Page using [[Template:Box-r]] with unknown parameter "_VALUE_"|ignoreblank=y| 1 | 2 | align | background | border color | border size | bottom margin | bottom padding | box type | color | CSS | font | font size | header | height | inline | left margin | left padding | margin | padding | right margin | right padding | spacing | span | style | text align | text color | text size | top margin | top padding | type | wide | width | float}}<noinclude>
<!--categories and Template Data in the documentation please-->{{doc|content=
{{Wrapper template}} It aligns the box the the right by default. Keep that in mind when looking at the documentation.
----
{{Template:Box/doc|no-special=y}}}}
</noinclude>