How to Create a Navbox: Difference between revisions

m
Line 66: Line 66:


===Step Two - Create the template===
===Step Two - Create the template===
*Since there is only one way to create a template, we will only show the Wikitext coding:
[[User:Ccsmith/sandbox/navbox|User:Ccsmith/sandbox/navbox]]
[[User:Ccsmith/sandbox/navbox|User:Ccsmith/sandbox/navbox]]
<table style="border:1px solid blue; width:100%">
<table style="border:1px solid blue; width:100%">
<tr>
<tr>
<td style="border:1px solid blue; text-align:center; font-size:16pt; ">Wikitext</td>
<td style="border:1px solid blue; text-align:center; font-size:16pt; ">HTML</td>
</tr>
<tr>
<td style="border:1px solid blue; ">
<nowiki>{{Navbox name</nowiki><br>
<nowiki>|group title</nowiki><br>
<nowiki>|item1</nowiki><br>
<nowiki>|item2</nowiki><br>
<nowiki>|item3</nowiki><br>
<nowiki>|item4</nowiki><br>
<nowiki>|item5</nowiki><br>
<nowiki>}}</nowiki>
</td>
<td style="border:1px solid blue; ">
<td style="border:1px solid blue; ">
<nowiki>{{Navbox name</nowiki><br>
<nowiki>{{Navbox name</nowiki><br>
<nowiki>|navbox background color</nowiki><br>
<nowiki>|title background color</nowiki><br>
<nowiki>|left column background color</nowiki><br>
<nowiki>|right column background color</nowiki><br>
<nowiki>|group title</nowiki><br>
<nowiki>|group title</nowiki><br>
<nowiki>|item1</nowiki><br>
<nowiki>|item1</nowiki><br>
Interface administrators, smwadministrator, smwcurator, smweditor
82,369

edits