Difference between revisions of "Help:Formatting and templates"

From Krafties
Jump to navigation Jump to search
(Created page with "==General Formatting== :Check out '''Formatting''' to see what wiki formatting you can do. They even have it translated on multiple language...")
 
m
Line 1: Line 1:
==General Formatting==
+
Every wiki has it's way of doing things and Krafties wiki is no different. There is the [[:mediawikiwiki:Help:Formatting|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 [[:mediawikiwiki:Main page|Mediawiki]] or [[:wikipedia:Main page|Wikipedia]] and adjusted to function on our wiki.
:Check out '''[[:mediawikiwiki:Help:Formatting|Formatting]]''' to see what wiki formatting you can do. They even have it translated on multiple languages.
+
*Please view '''[[:mediawikiwiki:Help:Formatting|Formatting guide (mediawiki)]]''' first for the basics of wiki formatting. They even have it translated on multiple languages.
==Krafties Formatting==
+
*I will try to list all the formatting templates we use on Krafties wiki here below.
:Every wiki has it's way of doing things and Krafties wiki is no different. Here I will try to compile a list of our formatting templates so they are easily accessed
+
 
 +
===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 [[:Category:Wiki maintenance|Wiki maintenance]].
 +
*{{tl|Ambox}}
 +
**{{tl|Update}}
 +
**{{tl|Delete}}
 +
 
 +
===Formatting templates===
 +
{| class=wikitable style="min-width:400px;text-align:center"
 +
!Template ||Description
 +
|-
 +
|<code>{{tl|Navbox}}</code> ||Creates navigation tables
 +
|-
 +
|<code>{{tl|Hlist}} </code> ||Creates horizontal lists
 +
|-
 +
|<code>{{tl|Clear}}</code> ||Disables word wrapping
 +
|-
 +
|<code>{{tl|Break}}</code> ||Inserts a <code><nowiki><br></nowiki></code> when it is normally not possible
 +
|-
 +
|<code>{{tl|Monospace}}</code> || {{Monospace|Makes text appear in monospace format}}
 +
|}
 +
 
 +
===Krafties templates===
 +
These are specifically made for krafties game information
 +
 
 +
{| class=wikitable style="min-width:400px;text-align:center"
 +
!Template ||Description
 +
|-
 +
|<code>{{tl|Energy}}</code> ||To insert energy cost.
 +
|-
 +
|<code>{{tl|GoldDiscount}}</code> ||To insert energy cost with Gold discount (prices for [[Membership|gold members]])
 +
|}
 +
 
 +
===Other templates===
 +
Templates that insert links or other things.  
 +
{| class=wikitable style="min-width:400px;text-align:center"
 +
!Template ||Description
 +
|-
 +
|<code>{{tl|tl}}</code> ||Makes easy links of templates, example: <code><nowiki>{{tl|Navbar}}</nowiki></code>
 +
|-
 +
|<code>{{tl|Navbar}}</code> || Inserts a "view/discuss/edit" links to a template for easy access
 +
|}
 +
 
 +
==See Also==
 +
*[[:Category:Templates]]

Revision as of 05:44, 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
{{Navbox}} Creates navigation tables
{{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)

Other templates

Templates that insert links or other things.

Template Description
{{tl}} Makes easy links of templates, example: {{tl|Navbar}}
{{Navbar}} Inserts a "view/discuss/edit" links to a template for easy access

See Also