Template:NavboxItem

From Cosmoteer Wiki
Jump to navigation Jump to search


Template documentation
View or edit this documentation. (About template documentation)
CalloutIconNote.pngNote
Portions of the template sample may not be visible without values provided.

Usage

{{NavboxItem|content}}


content

<span class="navbox-item" style="
  white-space: pre;
">[[content]]</span>

With remark

{{NavboxItem|content|remark here}}

or

{{NavboxItem|content|remark=remark here}}

content remark here

Code output
<span class="navbox-item" style="
  white-space: pre;
">[[content]]<span class="navbox-item-remark"> remark here</span></span>

With custom link

{{NavboxItem|content|link=custom link}}

or

{{NavboxItem|content|remark here|custom link}}

content custom link

Code output
<span class="navbox-item" style="
  white-space: pre;
">[[content]]<span class="navbox-item-remark"> custom link</span></span>

With autolink disabled

{{NavboxItem|content|nolink=1}}

content

Code output
<span class="navbox-item" style="
  white-space: pre;
">content</span>


Used to create individual navbox entries.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Content1

The text to display. Will be turned into a link with the same address. Can be overridden by "link" parameter.

Stringrequired
Remark2 remark

Additional text to add after the content. This text will neither be turned into a link, nor affect link address. It will be separated from the main content with a space.

Stringsuggested
Link3 link

Replaces the link on "content" with this link.

Page namesuggested
No linknolink

Disables the automatic link.

Auto value
0
Booleansuggested