Template:Navbox/Icon: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<includeonly><span style="float:left; overflow:hidden; margin-left:1px; margin-right:3px"><div>[[File:{{{image|}}} | 50x50px | {{{text|}}} | link={{{link|}}} ]]</div><div styl...") |
mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly><span style="float:left; overflow:hidden; margin-left:1px; margin-right:3px"><div>[[File:{{{image|}}} | 50x50px | {{{text|}}} | link={{{link|}}} ]]</div><div style="text-align:center; font-size:0.8em; line-height:1; width:50px; height:25px">[[{{{link|}}} | {{{text|}}}]]</div></span></includeonly> | <includeonly><span style="float:left; overflow:hidden; margin-left:1px; margin-right:3px"><div>[[File:{{{image|}}} | 50x50px | {{{text|}}} | link={{{link|}}} ]]</div><div style="text-align:center; font-size:0.8em; line-height:1; width:50px; height:25px">[[{{{link|}}} | {{{text|}}}]]</div></span></includeonly> | ||
<noinclude>__NOTOC__==Usage== | <noinclude>__NOTOC__==Usage== | ||
Creates a icon with subtext to use with Navboxes. Height and width are fixed and text overflow is hidden. | Creates a icon with subtext to use with Navboxes. Height and width are fixed and text overflow is hidden.<br> | ||
Only two lines of text can be shown and approximately 8~20 characters can be used per line. | |||
===Template Parameters=== | ===Template Parameters=== | ||
*'''image''': Image icon | *'''image''': Image icon | ||
Line 13: | Line 14: | ||
{{Navbox-Icon| image=uni carmine icon.png | text=Carmine | link=Under Night In-Birth/UNIST/Carmine}}</nowiki> | {{Navbox-Icon| image=uni carmine icon.png | text=Carmine | link=Under Night In-Birth/UNIST/Carmine}}</nowiki> | ||
===Output:=== | ===Output:=== | ||
{{Navbox-Icon| image=uni hyde icon.png | text=Hyde | link=Under Night In-Birth/UNIST/Hyde}} | {{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 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 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}} | {{Navbox-Icon| image=uni carmine icon.png | text=Carmine | link=Under Night In-Birth/UNIST/Carmine}} | ||
</noinclude> | </noinclude> |
Revision as of 22:54, 5 December 2019
Usage
Creates a icon with subtext to use with Navboxes. Height and width are fixed and text overflow is hidden.
Only two lines of text can be shown and approximately 8~20 characters can be used per line.
Template Parameters
- image: Image icon
- text: Text to display below icon
- link: Website link on image and text click
Example
Example:
{{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}}
Output:
Template:Navbox-Icon Template:Navbox-Icon Template:Navbox-Icon Template:Navbox-Icon