Difference between revisions of "Template:Tnb states"

From Conservapedia
Jump to: navigation, search
m (Reverted edits by TerryH (Talk) to last version by Jallen)
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|name      |Name          |yes| Name of template for v-d-e links}}
 
  {{Parm|link      |CP wikilink    |no | link to CP page (check case!)}}
 
  {{Parm|link      |CP wikilink    |no | link to CP page (check case!)}}
 
  {{Parm|link text |Title bar text |yes| Text to appear in title bar}}
 
  {{Parm|link text |Title bar text |yes| Text to appear in title bar}}

Revision as of 01:10, 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
link CP wikilink no link to CP page (check case!)
link text 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>