Difference between revisions of "Template:Div"

From PinataIsland.info, the Viva Piñata wiki
Jump to: navigation, search
(add a basic article shell example)
(add __NOTOC__ __NOEDITSECTION__)
Line 28: Line 28:
 
Basic article shell
 
Basic article shell
 
---start---          //eliminate any sections you don't need
 
---start---          //eliminate any sections you don't need
 +
 +
__NOTOC__
 +
__NOEDITSECTION__
 +
 
=Classic=
 
=Classic=
 
{{subst:div|article|classic}}
 
{{subst:div|article|classic}}
Line 61: Line 65:
 
...
 
...
 
</div></div>
 
</div></div>
 +
 
===end===
 
===end===
  
 
</pre></noinclude><includeonly><div class="pii_{{{1|article}}}_content_container"><div class="pii_{{{1|article}}}_{{{2|tip}}}_content"></includeonly>
 
</pre></noinclude><includeonly><div class="pii_{{{1|article}}}_content_container"><div class="pii_{{{1|article}}}_{{{2|tip}}}_content"></includeonly>

Revision as of 15:11, 22 August 2008

Usage

This template is used to create page tabs.

There are two parameters, the first being the type of page (article or species) and the second being the platform (and gametype, if applicable). It will default to a Trouble in Paradise article if no parameters are supplied.

This template should be subst:'ed.

Articles
--------
classic              {{subst:div|article|classic}}
trouble in paradise  {{subst:div|article|tip}}         //default - if no parameters are passed
tip - Standard       {{subst:div|article|tipStd}}
tip - Just for fun   {{subst:div|article|tipJff}}
pocket paradise      {{subst:div|article|pp}}
television show      {{subst:div|article|tv}}

Species
-------
classic              {{subst:div|species|classic}}
tip Standard         {{subst:div|species|tipStd}}
tip Just for fun     {{subst:div|species|tipJff}}
pocket paradise      {{subst:div|species|pp}}
television show      {{subst:div|species|tv}}

Basic article shell
---start---          //eliminate any sections you don't need

__NOTOC__
__NOEDITSECTION__

=Classic=
{{subst:div|article|classic}}
...
</div></div>

=Trouble in Paradise
{{subst:div|article|tipStd}}
...
</div></div>


=TiP - Standard=
{{subst:div|article|tipStd}}
...
</div></div>


=TiP - Just for Fun=
{{subst:div|article|tipJff}}
...
</div></div>


=Pocket Paradise=
{{subst:div|article|pp}}
...
</div></div>


=TV show=
{{subst:div|article|tipStd}}
...
</div></div>

===end===