Template:Box Portal Skeleton

From Wikisource
(Redirected from Template:BPS)
Jump to: navigation, search


Fiction | Non-fiction | Biography | Speeches | Poetry | Constitutional documents | Religious Texts | Historical Documents | Court Rulings and Opinions | Scripts

Alphabetical Index · Browse Authors · Browse Categories · Browse Portals

Box Portal Skeleton
Class
n/a

L1

L2

L3

R1

R2

R3

R4

B1

Purge server cache
Documentation icon Template documentation[view] [edit] [history] [purge]


Purpose

This template is meant to ceate the framework for box-portals through substitution using {{Subst:Template:BPS}}

It is based on the practice in place on Wikipedia, where it is used alot. It is possible that the documentation there is more complete. You can start checking here: w:Template:Box-header/doc.

See Also

Usage

The substitution of this template into a portal page will add the following code:-

<!--  This portal was created using subst:box portal skeleton  -->

<div align="center">
{{categorybrowsebar}}
</div>

<div align="center" style="width:100%;">
{{portal header
 | title       = 
 | class       = 
 | subclass1   = 
 | subclass2   = 
 | reviewed    = 
 | wikipedia   = 
 | commons     = 
 | commonscat  = 
 | wikiquote   = 
 | wikinews    = 
 | wiktionary  = 
 | wikibooks   = 
 | wikiversity = 
 | wikispecies = 
 | meta        = 
 | shortcut    = 
 | notes       =  
}}

<div style="float:left; width:60%;"> <!-- Add this width to the margin below to equal ~100% -->
{{Box-header
|title={{{title|L1|Featured text}}}
|editpage={{{editlink|{{SUBJECTSPACE}}:{{BASEPAGENAME}}/L1}}}
|viewpage={{{viewlink|{{SUBJECTSPACE}}:{{BASEPAGENAME}}/L1}}}
|border=#36A
|titleforeground=black
|titlebackground=#DDE
|background=white
|foreground=black
}}
{{{{SUBJECTSPACE}}:{{BASEPAGENAME}}/L1}}
{{Box-footer| {{{footer|}}} }}

{{Box-header
|title={{{title|L2|Did you know...}}}
|editpage={{{editlink|{{SUBJECTSPACE}}:{{BASEPAGENAME}}/L2}}}
|viewpage={{{viewlink|{{SUBJECTSPACE}}:{{BASEPAGENAME}}/L2}}}
|border=#36A
|titleforeground=black
|titlebackground=#DDE
|background=white
|foreground=black
}}
{{{{SUBJECTSPACE}}:{{BASEPAGENAME}}/L2}}
{{Box-footer| {{{footer|}}} }}

{{Box-header
|title={{{title|L3|Newest articles}}}
|editpage={{{editlink|{{SUBJECTSPACE}}:{{BASEPAGENAME}}/L3}}}
|viewpage={{{viewlink|{{SUBJECTSPACE}}:{{BASEPAGENAME}}/L3}}}
|border=#36A
|titleforeground=black
|titlebackground=#DDE
|background=white
|foreground=black
}}
{{{{SUBJECTSPACE}}:{{BASEPAGENAME}}/L3}}
{{Box-footer| {{{footer|}}} }}
</div>

<div style="float:right; width:39%;"> <!-- This margin should be right of the above -->
{{Box-header
|title={{{title|R1|Featured author}}}
|editpage={{{editlink|{{SUBJECTSPACE}}:{{BASEPAGENAME}}/R1}}}
|viewpage={{{viewlink|{{SUBJECTSPACE}}:{{BASEPAGENAME}}/R1}}}
|border=#36A
|titleforeground=black
|titlebackground=#DDE
|background=white
|foreground=black
}}
{{{{SUBJECTSPACE}}:{{BASEPAGENAME}}/R1}}
{{Box-footer| {{{footer|}}} }}

{{Box-header
|title={{{title|R2|Things you can do}}}
|editpage={{{editlink|{{SUBJECTSPACE}}:{{BASEPAGENAME}}/R2}}}
|viewpage={{{viewlink|{{SUBJECTSPACE}}:{{BASEPAGENAME}}/R2}}}
|border=#36A
|titleforeground=black
|titlebackground=#DDE
|background=white
|foreground=black
}}
{{{{SUBJECTSPACE}}:{{BASEPAGENAME}}/R2}}
{{Box-footer| {{{footer|}}} }}

{{Box-header
|title={{{title|R3|Categories}}}
|editpage={{{editlink|{{SUBJECTSPACE}}:{{BASEPAGENAME}}/R3}}}
|viewpage={{{viewlink|{{SUBJECTSPACE}}:{{BASEPAGENAME}}/R3}}}
|border=#36A
|titleforeground=black
|titlebackground=#DDE
|background=white
|foreground=black
}}
{{{{SUBJECTSPACE}}:{{BASEPAGENAME}}/R3}}
{{Box-footer| {{{footer|}}} }}

{{Box-header
|title={{{title|R4|Wikiprojects}}}
|editpage={{{editlink|{{SUBJECTSPACE}}:{{BASEPAGENAME}}/R4}}}
|viewpage={{{viewlink|{{SUBJECTSPACE}}:{{BASEPAGENAME}}/R4}}}
|border=#36A
|titleforeground=black
|titlebackground=#DDE
|background=white
|foreground=black
}}
{{{{SUBJECTSPACE}}:{{BASEPAGENAME}}/R4}}
{{Box-footer| {{{footer|}}} }}
</div>

<div style="float:right; width:100%;">
{{Box-header
|title={{{title|B1|Related portals}}}
|editpage={{{editlink|{{SUBJECTSPACE}}:{{BASEPAGENAME}}/B1}}}
|viewpage={{{viewlink|{{SUBJECTSPACE}}:{{BASEPAGENAME}}/B1}}}
|border=#36A
|titleforeground=black
|titlebackground=#DDE
|background=white
|foreground=black
}}
{{{{SUBJECTSPACE}}:{{BASEPAGENAME}}/B1}}
{{Box-footer| {{{footer|}}} }}
</div>
</div>

<div style="text-align:center; padding-bottom:2ex;">
<small span class="noprint plainlinks purgelink">[{{fullurl:{{FULLPAGENAME}}|action=purge}} <span title="Purge server cache">'''Purge server cache'''</span>]</span></div>