Difference between revisions of "Template:MainPageNav/doc"

From RimWorld Wiki
Jump to navigation Jump to search
(Documentation for MainPageNav)
 
m (category)
 
(One intermediate revision by one other user not shown)
Line 2: Line 2:
  
 
== Usage ==
 
== Usage ==
<pre>{{MainPageNav}}</pre>
+
<pre>{{MainPageNav
 +
|Link=https://rimworldwiki.com/wiki/Animals
 +
|Label=Cute Animals
 +
|Image=Chinchilla.png
 +
|Col1=
 +
&#9642; [[Husky]]<br>
 +
&#9642; [[Labrador retriever]]<br>
 +
&#9642; [[Yorkshire terrier]]<br>
 +
&#9642; [[Snowhare]]<br>
 +
|Col2=
 +
&#9642; [[Guinea pig]]<br>
 +
&#9642; [[Chinchilla]]<br>
 +
&#9642; [[Cat]]
 +
}}</pre>
  
 
produces:
 
produces:
{{MainPageNav}}
+
{{MainPageNav
 +
|Link=https://rimworldwiki.com/wiki/Animals
 +
|Label=Cute Animals
 +
|Image=Chinchilla.png
 +
|Col1=
 +
&#9642; [[Husky]]<br>
 +
&#9642; [[Labrador retriever]]<br>
 +
&#9642; [[Yorkshire terrier]]<br>
 +
&#9642; [[Snowhare]]<br>
 +
|Col2=
 +
&#9642; [[Guinea pig]]<br>
 +
&#9642; [[Chinchilla]]<br>
 +
&#9642; [[Cat]]
 +
}}
  
<includeonly>[[Category:Notice templates]]</includeonly>
+
<includeonly>[[Category:Navigation templates]]</includeonly>
 
<noinclude>[[Category:Template documentation]]</noinclude>
 
<noinclude>[[Category:Template documentation]]</noinclude>

Latest revision as of 10:23, 2 November 2022

This is a template for special navigation boxes on the main page.

Usage[edit]

{{MainPageNav
|Link=https://rimworldwiki.com/wiki/Animals
|Label=Cute Animals
|Image=Chinchilla.png
|Col1=
▪ [[Husky]]<br>
▪ [[Labrador retriever]]<br>
▪ [[Yorkshire terrier]]<br>
▪ [[Snowhare]]<br>
|Col2=
▪ [[Guinea pig]]<br>
▪ [[Chinchilla]]<br>
▪ [[Cat]]
}}

produces:

Guinea pig
Chinchilla
Cat