FANDOM


The NavBox Template is the second template used to create a unit navigational box. Here, we will explain how to create this second part of the box, the NavBox, correctly.

Use

The NavBox looks like this:

Point Defense Tech 1 Point Defense DM1 Plasma Cannon Auto Gun Erupter Uttaus
Tech 2 Point Defense Triad Cerberus Oblivion Uttaushala
Tech 3 Heavy Point Defense Ravager No-unit No-unit No-unit

It is meant to be used as part of a MultyBox, (more details at Template:MultyBox/Doc), like this:

Creating a NavBox

Creating a NavBox is not complicated, this is the syntax you should use:

NavLine Syntax
{{NavBox
 | UnitType = The Name as it appears in the left most box
 | UnitLink = The link to the unit type page

 | 1 = first NavLine
 | 2 = second NavLine
 ...
 | 8 = eighth NavLine
}}

Things to be careful of when creating a NavBox:

  • the UnitLink page makes the UnitType text appear as a link. Use this link only if such a page exists.
  • not all the fields need to be filled. However, the field 1 MUST be filled.

The fields 1 through 8 need to be filled with a NavLine. This can either be by transclusion (recommended:{{NavLine/T1 Point Defense}}), or you can write it explicitly on the fly, by writing the template (less recommended). HEre is an example using both layouts:

{{NavBox
 | UnitType = Point Defense
 | UnitLink = 
 | 1 = {{NavLine/T1 Point Defense}}
 | 2 = {{NAvLine/T2 Point Defense}}
 | 3 = {{NavLine
   | UnitType = Tech 3 Heavy Point Defense
   | UCode = XEB2306
   | UName = T3 Heavy Point Defense
   | UNick = Ravager
  }}
}}

Limits and Obligations

  • Because NavLine is meant to be a part of a bigger table, it does not actually have a beginning <table> and an ending <table>. If you are using this template outside of a MultyNav, you MUST preced it with <table border="1" style="width:100%; border-collapse: collapse;">, and end it with </table>.
  • For ease of use while creating the NavLine, the above header and footer are atomically if you are in a sub page of Template:NavBox (for example: Template:NavBox/Subpage)
  • All NavBoxes MUST be created as a sub page of Template:NavBox. This is mainly for organization purposes.

List of already created NavBoxes

Below is a list of already written NavBoxes. See if what you need is here before writing a new one. You can also see the NavBoxes Category.

(The below content is Cached. If you must have a completely up to date table, preview this subsection with the variable allowcachedresults changed from true to false, but do not save this change.)

Extension:DynamicPageList (DPL), version 2.3.0 : Warning: Unknown parameter '<!-- allowcachedresults' is ignored. Help: available parameters: addfirstcategorydate category count hiddencategories mode namespace notcategory order ordermethod qualitypages redirects showcurid shownamespace stablepages suppresserrors allowcachedresults execandexit columns debug distinct escapelinks format inlinetext listseparators notnamespace offset oneresultfooter oneresultheader ordercollation noresultsfooter noresultsheader randomcount randomseed replaceintitle resultsfooter resultsheader rowcolformat rows rowsize scroll title title< title> titlemaxlength userdateformat addauthor addcategories addcontribution addeditdate addexternallink addlasteditor addpagecounter addpagesize addpagetoucheddate adduser categoriesminmax createdby dominantsection dplcache dplcacheperiod eliminate fixcategory headingcount headingmode hitemattr hlistattr ignorecase imagecontainer imageused include includematch includematchparsed includemaxlength includenotmatch includenotmatchparsed includepage includesubpages includetrim itemattr lastmodifiedby linksfrom linksto linkstoexternal listattr minoredits modifiedby multisecseparators notcreatedby notlastmodifiedby notlinksfrom notlinksto notmodifiedby notuses reset secseparators skipthispage table tablerow tablesortcol titlematch usedby uses allrevisionsbefore allrevisionssince articlecategory categorymatch categoryregexp firstrevisionsince lastrevisionbefore maxrevisions minrevisions notcategorymatch notcategoryregexp nottitlematch nottitleregexp openreferences titleregexp .

Extension:DynamicPageList (DPL), version 2.3.0 : Error: You need to include at least one category if you want to use 'addfirstcategorydate=true' or 'ordermethod=categoryadd'!

Blank NavBox

Use this when creating a new NavBox

NavBox Syntax
{{NavBox
 | UnitType = 
 | UnitLink = 
 | 1 = 
 | 2 = 
 | 3 = 
 | 4 = 
 | 5 = 
 | 6 = 
 | 7 = 
 | 8 = 
}}
Community content is available under CC-BY-SA unless otherwise noted.