Template:Navbox: Difference between revisions
Template page
More actions
No edit summary |
No edit summary |
||
| (19 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 | |||
|title= | |||
|text= | |||
|boxwidth= | |||
}} | |||
</nowiki></pre> | |||
</noinclude> | |||
<noinclude> | <noinclude> | ||
<templatedata> | <templatedata> | ||
| Line 12: | Line 30: | ||
"params": { | "params": { | ||
"title": {}, | "title": {}, | ||
" | "text": {}, | ||
} | "boxwidth": { | ||
"example": "360px", | |||
"suggestedvalues": [ | |||
"380px" | |||
], | |||
"autovalue": "360px" | |||
} | |||
}, | |||
"paramOrder": [ | |||
"title", | |||
"text", | |||
"boxwidth" | |||
] | |||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </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 |