Difference between revisions of "Help:Formatting and templates"

From Krafties
Jump to navigation Jump to search
Line 33: Line 33:
 
|-
 
|-
 
|<code>{{tl|GoldDiscount}}</code> ||To insert energy cost with Gold discount (prices for [[Membership|gold members]])
 
|<code>{{tl|GoldDiscount}}</code> ||To insert energy cost with Gold discount (prices for [[Membership|gold members]])
 +
|-<!---
 +
 +
          FILL IN FORM TEMPLATES
 +
--->
 +
!colspan=2| Fill in Forms
 +
|-
 +
|<code>{{tl|Creature}}</code> || Information about a species of Kraftie
 +
|-
 +
|<code>{{tl|Item}}</code> ||Information about a single item
 +
|-
 +
|<code>{{tl|Element}}</code> ||Information about a single element
 +
|-
 +
|<code>{{tl|UnlockSpells}}</code> ||Information about unlocking spells
 +
|}
 +
 +
=== templates===
 +
Templates that you fill in, like a form to display large amounts of information
 +
 +
{| class=wikitable style="min-width:400px;text-align:center"
 +
!Template ||Description
 +
|-
 +
|<code>{{tl|Navbox}}</code> ||Creates navigation tables
 +
|-
 
|}
 
|}
  

Revision as of 05:01, 4 May 2017

Every wiki has it's way of doing things and Krafties wiki is no different. There is the basic formatting that works on all wikis, and then there are unique templates and extentions that makes every wiki unique. Many basic formatting templates have been copied from Mediawiki or Wikipedia and adjusted to function on our wiki.

  • Please view Formatting guide (mediawiki) first for the basics of wiki formatting. They even have it translated on multiple languages.
  • I will try to list all the formatting templates we use on Krafties wiki here below.

Message Boxes

These insert a message/notice box on the pages, many of them will also insert a category so the page in question can easily be found in the Wiki maintenance.

Formatting templates

Template Description
{{tl}} Makes easy links of templates, example: {{tl|Navbar}}
{{Hlist}} Creates horizontal lists
{{Clear}} Disables word wrapping
{{Break}} Inserts a <br> when it is normally not possible
{{Monospace}} Makes text appear in monospace format

Krafties templates

These are specifically made for krafties game information

Template Description
{{Energy}} To insert energy cost.
{{GoldDiscount}} To insert energy cost with Gold discount (prices for gold members)
Fill in Forms
{{Creature}} Information about a species of Kraftie
{{Item}} Information about a single item
{{Element}} Information about a single element
{{UnlockSpells}} Information about unlocking spells

templates

Templates that you fill in, like a form to display large amounts of information

Template Description
{{Navbox}} Creates navigation tables

Other templates

Templates that insert links or other things.

Template Description
{{Navbar}} Inserts a "view/discuss/edit" links to a template for easy access
{{Subpages}} Inserts a link to all subpages of current page

See Also