Difference between revisions of "Template:Draft:Template:Navbox/doc"

From Valve Developer Community
Jump to: navigation, search
m (Replaced content with "{{delete}}")
(Tag: Replaced)
 
Line 1: Line 1:
{{draft}}
+
{{delete}}
 
 
== Preview ==
 
{{navbox
 
| titlestyle = background-color: #3A3A3A; padding: 2px; color: #fff; text-align:center;
 
| bodystyle  = clear: both; border: 2px solid #525252; width:100%;
 
| basestyle  = background-color: #3A3A3A; padding: 2px; color: #fff; text-align:center;
 
| groupstyle = background-color: #3A3A3A; padding: 2px 10px; width: 1%; white-space: nowrap; font-weight: bold; text-align: right;
 
| liststyle  = border-left: none;
 
 
 
| title  = {{param|title}}
 
| navbar = off
 
| image  = {{param|image}}
 
 
 
| above  = {{param|above}}
 
 
 
| group1 = {{param|group1}}
 
| list1  = {{param|list1}}
 
 
 
| group2 = {{param|group2}}
 
| list2  = {{param|list2}}
 
 
 
| group3 = {{param|group3}}
 
| list3  = {{param|list3}}
 
 
 
| below  = {{param|below}}
 
}}
 
 
 
== Copy and Paste ==
 
{{CodeBlock|style=3|<nowiki>{{Navbox
 
| title  =
 
| image  =
 
 
 
| group1 =
 
| list1  =
 
}}</nowiki>}}
 
 
 
== Parameter List ==
 
{{Stub}}
 
{| class="standard-table plainlinks" width="100%" style="margin-top:0;"
 
! width="15%" | Parameter
 
! width="35%" | Description
 
! width="45%" | Example
 
|-
 
| align="center" | {{code|style=2|{{param|name}}}}
 
| {{Todo|Document this parameter.}}
 
| {{CodeBlock|margin=5px|<nowiki>| name = Lorem ipsum </nowiki>}}
 
|-
 
| align="center" | {{code|style=2|{{param|title}}}}
 
| Title of the navbox.
 
| {{CodeBlock|margin=5px|<nowiki>| title = Foo bar </nowiki>}}
 
|-
 
! colspan="3" | Style Parameters
 
|-
 
| align="center" | {{code|style=2|{{param|basestyle}}}}
 
| {{Todo|Document this parameter}}
 
| {{CodeBlock|margin=5px|<nowiki>| basestyle = background: #242424; </nowiki>}}
 
|-
 
| align="center" | {{code|style=2|{{param|bodystyle}}}}
 
| For applying styling to the table element.
 
| {{CodeBlock|margin=5px|<nowiki>| bodystyle = border: 2px solid #525252; </nowiki>}}
 
|-
 
| align="center" | {{code|style=2|{{param|innerstyle}}}}
 
| {{Todo|Document this parameter}}
 
| {{CodeBlock|margin=5px|<nowiki>| innerstyle = color:white; </nowiki>}}
 
|-
 
| align="center" | {{code|style=2|{{param|liststyle}}}}
 
| For applying styling to td elements.
 
| {{CodeBlock|margin=5px|<nowiki>| liststyle = text-align:center; </nowiki>}}
 
|-
 
! colspan="3" | Other
 
|-
 
| align="center" | {{code|style=2|{{param|state}}}}
 
| {{Todo|Document this parameter}}
 
| {{CodeBlock|margin=5px|<nowiki>| state = plain</nowiki>}}
 
|-
 
|}
 

Latest revision as of 05:12, 15 May 2023

Warning icon.png
This template has been marked as a candidate for speedy deletion.
If you object to this decision, then please discuss why hereIf this page doesn't meet the criteria for speedy deletion, then please remove this notice, but do not remove it from pages that you have created yourself
Administrators - Remember to check if anything links here and the page history (last edit) before deleting.