If you want an account, contact Ziggy via Discord: @ziggymoncher_. Read BonziPEDIA:Requesting accounts for more details.
Template:Nb: Difference between revisions
From BonziPEDIA, the Official BonziWORLD Encyclopedia of varied quality.
Jump to navigationJump to search
experimenting with easier navbox creation using templates (mostly for the sake of readability) |
No edit summary |
||
Line 2: | Line 2: | ||
<div role="navigation" class="navbox" aria-labelledby="{{{id}}}" style="box-sizing: border-box;{{{border|border: 1px solid #a2a9b1;}}}width: 100%;clear: both;font-size: 88%;text-align: center;margin: 1em auto 0;background-color: #fdfdfd;padding:3px;"> | <div role="navigation" class="navbox" aria-labelledby="{{{id}}}" style="box-sizing: border-box;{{{border|border: 1px solid #a2a9b1;}}}width: 100%;clear: both;font-size: 88%;text-align: center;margin: 1em auto 0;background-color: #fdfdfd;padding:3px;"> | ||
{|class="nowraplinks mw-collapsible navbox-inner" style="border-spacing:0;background:transparent;color:inherit;width:100%;" | {|class="nowraplinks mw-collapsible navbox-inner" style="border-spacing:0;background:transparent;color:inherit;width:100%;" | ||
!scope="col" class="navbox-title" colspan="3" style="padding:0.25em 1em;line-height:1.5em;text-align:center;{{{titlebox|background-color:#ccf;}}}"|<div id="{{{id}}}" style="font-size:114%;margin:0 4em">{{{title}}}</div> | !scope="col" class="navbox-title" colspan="3" style="padding:0.25em 1em;line-height:1.5em;text-align:center;{{{titlebox|background-color:#ccf;}}}"|<div id="{{{id}}}" style="font-size:114%;margin:0 4em">{{{title}}}</div></includeonly> | ||
</includeonly> | |||
<noinclude> | <noinclude> | ||
== Documentation == | == Documentation == |
Revision as of 11:23, 17 December 2023
Documentation
This opens up a navbox for template creation. The Talk, Edit and View buttons are excluded due to them being pointless on such a small wiki.
Required: id - The unique ID of the template. Required only on this part. title - The visible title of the navbox. Optional: border - Border styling. titlebox - Title box styling.