Difference between revisions of "Help:See Also"

From Krafties
Jump to navigation Jump to search
m
 
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{WikiHelp}}
 
{{WikiHelp}}
  
==Navigation Tables==
+
==Navigation Tables (See Also)==
Should be used for the "See Also" section of pages
+
Should be used for the '''"See Also"''' section of pages
 
*These templates add a navigation table with links to relative information in a neat and organized way
 
*These templates add a navigation table with links to relative information in a neat and organized way
*Preferably only use '''a single table''' on a page, so pick one which is most relevant, and add normal links to other related pages.
+
*Preferably only use a single nav-table per page, so pick one which is most relevant, and add normal links to extra related pages which might not be included on the table itself.
*Just click the template link to view how it looks
 
{|class=wikitable style="margin-left:30px"
 
|-
 
!style=width:200px|Template !!style=width:300px|Code !!Description
 
|-
 
|'''[[Template:Krafties Creatures|Krafties Creatures]]'''
 
|<code>{{[[Template:Krafties Creatures|Krafties Creatures]]}}</code> ||''Links to [[Krafties Creatures]] and [[Elements|Soul Elements]]''
 
|-
 
|'''[[Template:Experience|Experience and Levels]]'''
 
|<code>{{[[Template:Experience|Experience]]}}</code> || ''Links to [[experience]] and [[Skills and Levels|Skills]]''
 
|-
 
|'''[[Template:Krafties|Activities and Krafties Island]]'''
 
|<code>{{[[Template:Krafties|Krafties]]}}</code> || ''Links to [[Sim Activities|Activities]] and [[Krafties Island]]''
 
|-
 
|'''[[Template:Items|Krafties Items]]'''
 
|<code>{{[[Template:Items|Items]]}}</code> || ''Links to the many [[Items]] of the game''
 
|-
 
|'''[[Template:Elements|The Elements]]'''
 
|<code>{{[[Template:Elements|Elements]]}}</code> ||''Links to the individual [[Elements]] pages''
 
|-
 
|'''[[Template:Spells|Spells Navigation]]'''
 
|<code>{{[[Template:Spells|Spells]]}}</code> ||''Links to the individual [[Spells]] pages''
 
|}
 
  
==Small Link Tables==
+
{{NavTables}}
More compact tables that fit better within the page content
 
  
==Banners (they also add category)==
+
{{Navbox/help}}
:They insert a table of links '''and a category''' to the page
+
 
{|class=wikitable style="margin-left:30px"
+
==See Also==
|-
+
{{NavTables}}
!style=width:200px|Name !!style=width:300px| Code !!Description
 
|-
 
|'''[[Template:Banner_Elements|Elements Banner]]'''
 
|<code>{{[[:Template:Banner_Elements|Banner_Elements]]}}</code> ||''Adds a table containing a list of Elements''
 
|}
 

Latest revision as of 06:26, 28 July 2015

Our Wiki Help Pages
General Mediawiki Helpguides

Navigation Tables (See Also)[edit]

Should be used for the "See Also" section of pages

  • These templates add a navigation table with links to relative information in a neat and organized way
  • Preferably only use a single nav-table per page, so pick one which is most relevant, and add normal links to extra related pages which might not be included on the table itself.



Creating Navigation tables[edit]

A few templates have been created, which when used together become a pretty neat looking navigation table. The WikiWriter is in charge of template making, but I thought I would add this to explain how they are created in case of editing.

Template Code Description
Navbox {{Navbox|title=|template=|groups=|footer=}} Adds the frame for the navigation table
  • "title=" adds the first header
  • "template=" Name of the template, case sensitive! (skip the "Template:" part)
  • "groups=" is for everything in between
  • "footer=" for adding extra related links at the bottom of the table.
templates used in Navbox "groups=" area
Navbox-odd and Navbox-even {{Navbox-odd|group=|links=}} Use these in the "groups=" area of the Navbox template
Adds the groups and their links. The only difference between them is the background color behind the links (odd is white, even is gray).
Navbox-header {{Navbox-header|title=}} Use these also in the "groups=" area, to create new sections.

Example[edit]

{{Navbox|title=Navigation Table |template=Navbox|groups=
{{Navbox-odd|group=Interesting links|links=[[Template:Navbox|]]}}
{{Navbox-header|title=Filler section}}
{{Navbox-odd|group=Group 1|links=[[Template:Navbox-odd|]] • [[Template:Navbox-even|]]}}
{{Navbox-even|group=Group 2|links=[[Template:Navbox-header|]]}}
|footer=See Also}}

Adding extra columns and cells[edit]

By default each row is just one group, but since this is still a table you can add columns and such. But this is a bit more complicated.

  • When adding extra cells, it follows the normal template system, but you need to write {{!}} instead of normal | vertical bars, else you break the template
  • You need to add colspan= to every Navbox-odd and Template:Navbox-even template if you decide add extra columns anywhere. This stretches out the "links" cell.
  • You need to add class=navbox-group and class=navbox-odd (or class=navbox-even) to the cells you have manually added, so the CSS can color it like the rest of the table.
Here I add extra two cells to a row, a group and links
{{Navbox-odd|links=
!class="navbox-group"{{!}}Group title
{{!}}class="navbox-odd"{{!}}[[Links]]}}
Here I add extra colspan to stretch the next row's link cell
{{Navbox-odd|colspan=3|links=}}


See Also[edit]