Templates: Difference between revisions

From PWI Wiki
Jump to navigationJump to search
PWpedia>Sangodoc
Created page
 
PWpedia>Sangodoc
→Template List: Fixed an item and added a note
Line 17: Line 17:
|+
|+
| [[Template:TOC_right]]
| [[Template:TOC_right]]
| Use '''<NoWiki>{{Template:TOC_right}}</NoWiki>''' to show the Table of Contents on the right side instead of the left.
| Use '''<NoWiki>{{TOC_right}}</NoWiki>''' to show the Table of Contents on the right side instead of the left.
| N/A
| N/A
|+
|+
Line 35: Line 35:
|+
|+
| [[Template:Merge basic]]
| [[Template:Merge basic]]
| Use '''<NoWiki>{{Merge_basic|from=PageName1|to=PageName2}}</NoWiki>''' to recommend merging page #1 into page #2.  It should be placed at the top of both pages to be merged.
| Use '''<NoWiki>{{Merge_basic|from=PageName1|to=PageName2}}</NoWiki>''' to recommend merging page #1 into page #2.  It should be placed at the top of both pages to be merged.  Using this template will add the page to the [[:Category:Articles_to_be_merged]] page.
| <table class="metadata plainlinks ambox" style="margin: 0px 10%; border: 1px solid; border-left: 10px solid #9932cc; background: #291a0e;">
| <table class="metadata plainlinks ambox" style="margin: 0px 10%; border: 1px solid; border-left: 10px solid #9932cc; background: #291a0e;">
<tr>
<tr>
Line 47: Line 47:
|+
|+
| [[Template:Infobox Class]]
| [[Template:Infobox Class]]
| Used on class pages.  Add the following to the very beginning of any class page, with the correct information substituted for each of the parameters: '''<NoWiki>{{Infobox_Class
| Used on class pages.  Add the following to the very beginning of any class page, with the correct information substituted for each of the parameters: <br>
'''<NoWiki>{{Infobox_Class
| Class=Example
| Class=Example
| Image=Example.jpg
| Image=Example.jpg
Line 54: Line 55:
| Home=[[Exampleania]]
| Home=[[Exampleania]]
| Elements=Fire}}</NoWiki>'''
| Elements=Fire}}</NoWiki>'''


'''Note:''' Due to a glitch, you will also need to add <nowiki>__TOC__</nowiki> to the bottom of the first section when using this template to prevent the Table of Contents from ending up inside of the infobox.
'''Note:''' Due to a glitch, you will also need to add <nowiki>__TOC__</nowiki> to the bottom of the first section when using this template to prevent the Table of Contents from ending up inside of the infobox.

Revision as of 20:12, 3 May 2010

This page lists the various templates which you might find useful when editing pages or making suggestions regarding pages. If you create a new template, please add it to this page along with a description of how to use it.

Template List

Name & Link Description Example
Template:Imagebox Use {{Imagebox|image=ImageName|iwidth=100%|text=Your text here.}} to add a box with an image and some text underneath it to a page. See the link for advanced instructions.
File:Blazing Phoenix.JPG
A "Nix".
Template:Ref and Template:Note Use {{Ref|1|1}} to add a footnote link, and then use :1.{{Note|1}}Note text. to add the footnote text. The references and note links will take you to each other when clicked on. This is an example.1
1.^ Note text.
Template:TOC_right Use {{TOC_right}} to show the Table of Contents on the right side instead of the left. N/A
Template:Ambox_basic Use {{Ambox_basic|text=Your text here.}} to show a notice message with your own text in it.
Template:Stub Use {{Stub}} to mark an article as a stub and have it listed on the Category:Stubs page.
Template:ReqDelete Use {{ReqDelete|reason=Reason for deletion.}} to mark an article for deletion and have it listed on the Category:Proposed_deletion page.
Template:Merge basic Use {{Merge_basic|from=PageName1|to=PageName2}} to recommend merging page #1 into page #2. It should be placed at the top of both pages to be merged. Using this template will add the page to the Category:Articles_to_be_merged page.
Template:Infobox Class Used on class pages. Add the following to the very beginning of any class page, with the correct information substituted for each of the parameters:

{{Infobox_Class | Class=Example | Image=Example.jpg | Race=Examplite | Type=Magic | Home=[[Exampleania]] | Elements=Fire}}

Note: Due to a glitch, you will also need to add __TOC__ to the bottom of the first section when using this template to prevent the Table of Contents from ending up inside of the infobox.

Example

Example
Race Examplite
Type Magic
Home Town Exampleania
Elements Fire