Difference between revisions of "Template:Tnb states"

From Conservapedia
Jump to: navigation, search
(Created template)
 
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
{{Tnavbox_basic
+
{{Navbox
|titleback-color=midnightblue
+
|name={{{name}}}
|titletext-color=white
+
|basestyle=font-size: 95%; background:midnightblue
|bodyback-color=white
+
|title=[[{{{titlelink}}}|<span style="color:white">{{{titletext}}}</span> ]]
|bodytext-color=blue
+
|liststyle=font-size: 85%; padding:0.25em; background:white; color:blue;
|titlelink={{{titlelink}}}{{!}}
+
|list1={{{body}}}
|titletext={{{titletext}}}
+
|body={{{body}}}
+
 
}}
 
}}
 
</includeonly>
 
</includeonly>
  
 
<noinclude>
 
<noinclude>
[[Category:Template]]
+
[[Category:Template|{{PAGENAME}}]]
  
 
<!-----------------------Documentation--------------------->
 
<!-----------------------Documentation--------------------->
 
{{TemplateDoc|pages=States & national subdivision articles|purpose=Nav box|cat=}}
 
{{TemplateDoc|pages=States & national subdivision articles|purpose=Nav box|cat=}}
 
{{Parms|
 
{{Parms|
  {{Parm|link     |CP wikilink    |no | link to CP page (check case!)}}
+
  {{Parm|name     |Name          |yes| Name of template for v-d-e links}}
  {{Parm|link text |Title bar text |yes| Text to appear in title bar}}
+
{{Parm|titlelink |CP wikilink    |no | link to CP page (check case!)}}
 +
  {{Parm|titletext |Title bar text |yes| Text to appear in title bar}}
 
  {{Parm|body      |Body          |yes| List of wikilinked items separated by '<tt> • </tt>'}}
 
  {{Parm|body      |Body          |yes| List of wikilinked items separated by '<tt> • </tt>'}}
 
}}
 
}}

Latest revision as of 14:04, December 1, 2008



Template: Tnb states
Use on States & national subdivision articles
Use for Nav box
Category template applies to page (none)
Template Parameters
(See using templates).
Name Purpose Required? Comment
name Name yes Name of template for v-d-e links
titlelink CP wikilink no link to CP page (check case!)
titletext Title bar text yes Text to appear in title bar
body Body yes List of wikilinked items separated by ''


This is a master template for navboxes in articles about states.

Sample text block

Copy and paste the following to new navbox:

{{Tnb_states
|titlelink=
|titletext=
|body={{nowrap|[[ | ]] •}} {{nowrap|[[ | ]] •}} {{nowrap|[[ | ]]}}
}}
<includeonly>
[[Category:<!--''Category name''-->]]
</includeonly>
<noinclude>
[[Category:Navigation box]]
</noinclude>