Template:Navbox: Difference between revisions
Template page
More actions
Created page with "{{Navbox | name = {{subst:PAGENAME}}{{subst:void|Don't change anything on this line. It will change itself when you save.}} | title = | listclass = hlist | state = {{{state|}}} | above = | image = | group1 = | list1 = | group2 = | list2 = | group3 = | list3 = <!-- ... --> | below = }}" |
No edit summary |
||
| (27 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<div id="main-navbox" class="navbox" role="navigation"> | |||
<div class="navbox-title" style="width: {{{boxwidth}}};"> | |||
{{{title}}} | |||
</div> | |||
<div class="navbox-text" style="width: {{{boxwidth}}};"> | |||
<p>{{{text}}}</p> | |||
</div> | |||
<div class="navbox-source" style="width: {{{boxwidth}}};"> | |||
{{PlainLink|//datacrondatabase.com/Template:Navbox_Title|name=<nowiki>[</nowiki>Source<nowiki>]</nowiki>}} | |||
</div> | |||
</div> | |||
<noinclude> | |||
[[Category:Navbox Templates]] | |||
===Usage=== | |||
Copy and paste the following code to use the template. | |||
<pre><nowiki> | |||
{{Navbox | {{Navbox | ||
| | |title= | ||
| | |text= | ||
| | |boxwidth= | ||
}} | |||
</nowiki></pre> | |||
</noinclude> | |||
<noinclude> | |||
<templatedata> | |||
{ | |||
"params": { | |||
"title": {}, | |||
"text": {}, | |||
"boxwidth": { | |||
"example": "360px", | |||
"suggestedvalues": [ | |||
}} | "380px" | ||
], | |||
"autovalue": "360px" | |||
} | |||
}, | |||
"paramOrder": [ | |||
"title", | |||
"text", | |||
"boxwidth" | |||
] | |||
} | |||
</templatedata> | |||
</noinclude> | |||
Latest revision as of 22:17, 28 July 2023
Usage
Copy and paste the following code to use the template.
{{Navbox
|title=
|text=
|boxwidth=
}}
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| title | title | no description | Unknown | optional |
| text | text | no description | Unknown | optional |
| boxwidth | boxwidth | no description
| Unknown | optional |