Difference between revisions of "Template:Navbox/Row"

From Mizuumi Wiki
Jump to navigation Jump to search
(Created page with "<includeonly>| width="10%" | '''{{{text|}}}''' | {{{data|}}} |-</includeonly> <noinclude>__NOTOC__==Usage== Creates a row in a Navigation box. To be used exclusively with Te...")
 
m (Reverting because collapsible didn't work out as I wanted.)
(Tag: Undo)
 
(18 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>| width="10%" | '''{{{text|}}}'''
+
<includeonly>{{#vardefine:iconheight|{{{iconheight|0}}}}}<!--
| {{{data|}}}
+
-->{{#vardefine:iconwidth|{{{iconwidth|50}}}}}<!--
|-</includeonly>
+
-->{{#vardefine:textsize|{{{textsize|1.0}}}}}<!--
<noinclude>__NOTOC__==Usage==
+
-->{{#vardefine:textwidth|{{{textwidth|{{#var:iconwidth}}}}}}}<!--
Creates a row in a Navigation box. To be used exclusively with [[Template:Navbox]].
+
-->{{#vardefine:maxlines|{{{maxlines|2.2}}}}}<!--
===Template Parameters===
+
-->|-
*'''text''': Text to display in left column
+
| width="10%" | '''{{{text|}}}'''
*'''data''': [[Template:Navbox-Text]] or [[Template:Navbox-Icon]] to show in right column.
+
| {{{data|}}}</includeonly><noinclude>See [[Template:Navbox]] for documentation.
==Example==
+
[[Category:Universal]]</noinclude>
===Example:===
 
<nowiki>{{Navbox
 
| title=UNI Example
 
| link=Under Night In-Birth/UNIST
 
| rows=
 
{{Navbox-Row
 
| text=General
 
| data=
 
{{Navbox-Icon| image=uni hyde icon.png | text=Hyde | link=Under Night In-Birth/UNIST/Hyde}}
 
{{Navbox-Icon| image=uni linne icon.png | text=Linne | link=Under Night In-Birth/UNIST/Linne}}
 
{{Navbox-Icon| image=uni waldstein icon.png | text=Waldstein| link=Under Night In-Birth/UNIST/Waldstein}}
 
{{Navbox-Icon| image=uni carmine icon.png | text=Carmine | link=Under Night In-Birth/UNIST/Carmine}}
 
}}
 
}}</nowiki>
 
===Output:===
 
{{Navbox
 
| title=UNI Example
 
| link=Under Night In-Birth/UNIST
 
| rows=
 
{{Navbox-Row
 
| text=Characters
 
| data=
 
{{Navbox-Icon| image=uni hyde icon.png | text=Hyde | link=Under Night In-Birth/UNIST/Hyde}}
 
{{Navbox-Icon| image=uni linne icon.png | text=Linne | link=Under Night In-Birth/UNIST/Linne}}
 
{{Navbox-Icon| image=uni waldstein icon.png | text=Waldstein| link=Under Night In-Birth/UNIST/Waldstein}}
 
{{Navbox-Icon| image=uni carmine icon.png | text=Carmine | link=Under Night In-Birth/UNIST/Carmine}}
 
}}
 
}}<
 
</noinclude>
 

Latest revision as of 07:13, 18 February 2020

See Template:Navbox for documentation.