Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:FP Box: Difference between revisions

Template page
Content added Content deleted
(trying to fix limitation)
(Undo revision 12306 by Scatteraxis (talk))
Tag: Undo
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><div class="fpbox">
<includeonly><div class="fpbox">
{{#if:{{{header|}}}|<div class="heading" style="text-align: center;">{{{header}}}</div>}}
{{#if:{{{header|}}}|<div class="heading" style="text-align: center;">{{{header}}}</div>}}
<div style="{{#ifeq: {{lc:{{{padding|yes}}}}}|yes|padding:1%;|padding:0px;}}">
<div style="{{#ifeq: {{lc:{{{padding|yes}}}}}|yes|padding:1%;|padding:0px;}}">{{{content}}}
{{{content}}}
</div>{{
</div>{{
#if:{{{subheader1|}}}|<div class="heading" style="text-align: center;">{{{subheader1}}}</div>|}}{{
#if:{{{subheader1|}}}|<div class="heading" style="text-align: center;">{{{subheader1}}}</div>|}}{{
Line 13: Line 12:
#if:{{{content5|}}}|<div style="text-align: left; {{#ifeq: {{lc:{{{padding|yes}}}}}|yes|padding:1%;|padding:0px;}}">{{{content5}}}</div>|}}{{
#if:{{{content5|}}}|<div style="text-align: left; {{#ifeq: {{lc:{{{padding|yes}}}}}|yes|padding:1%;|padding:0px;}}">{{{content5}}}</div>|}}{{
#if:{{{subheader5|}}}|<div class="heading" style="text-align: center;">{{{subheader5}}}</div>|}}{{
#if:{{{subheader5|}}}|<div class="heading" style="text-align: center;">{{{subheader5}}}</div>|}}{{
#if:{{{content6|}}}|<div style="text-align: left; {{#ifeq: {{lc:{{{padding|yes}}}}}|yes|padding:1%;|padding:0px;}}">{{{content6}}}</div>|}}
#if:{{{content6|}}}|<div style="text-align: left; {{#ifeq: {{lc:{{{padding|yes}}}}}|yes|padding:1%;|padding:0px;}}">{{{content6}}}</div>|}}{{
#if:{{{subheader6|}}}|<div class="heading" style="text-align: center;">{{{subheader6}}}</div>|}}{{
#if:{{{subheader6|}}}|<div class="heading" style="text-align: center;">{{{subheader6}}}</div>|}}{{
#if:{{{content7|}}}|<div style="text-align: left; {{#ifeq: {{lc:{{{padding|yes}}}}}|yes|padding:1%;|padding:0px;}}">{{{content7}}}</div>|}}
#if:{{{content7|}}}|<div style="text-align: left; {{#ifeq: {{lc:{{{padding|yes}}}}}|yes|padding:1%;|padding:0px;}}">{{{content7}}}</div>|}}

Latest revision as of 18:39, 27 April 2023

Template DocumentationEdit This Documentation
This template was created by Tarkus Lee, from Dustloop Wiki.

It is a template that provides pre-made flexible boxes for the front pages of the wiki and games.

Arguments:

| header    = Places the large header text at the top. Appears large at the top
| content   = Places content underneath the original header
| subheader1 = Creates a second header in the body of the
| content2   = Places content underneath the first subheader of the content box.

You repeat the subheader process and conventions for as many subheaders as you need, but only up to 6 subheaders and subheader content spaces underneath subheaders can be created.

Example

{{FP Box
|header=This is a FP Box
|content=It has only 1 header and 1 content box
}}
This is a FP Box
It has only 1 header and 1 content box

This documentation is automatically transcluded from Template:FP Box/Documentation and is not included when this page is transcluded.
Cookies help us deliver our services. By using our services, you agree to our use of cookies.