Difference between revisions of "Template:Navsidebar"

From Peter
Jump to: navigation, search
m (24 revisions imported)
 
(18 intermediate revisions by 11 users not shown)
Line 1: Line 1:
 
{| class="infobox" cellpadding="1" cellspacing="0" style="float: right; margin: 0 0 0.5em 0.5em; text-align:left; border: 1px solid {{{barcolor}}}; width:150px;"
 
{| class="infobox" cellpadding="1" cellspacing="0" style="float: right; margin: 0 0 0.5em 0.5em; text-align:left; border: 1px solid {{{barcolor}}}; width:150px;"
 
| style="font-size: 95%; text-align:center; color:{{{textcolor}}}; background-color:{{{barcolor}}}" | '''{{{title}}}'''
 
| style="font-size: 95%; text-align:center; color:{{{textcolor}}}; background-color:{{{barcolor}}}" | '''{{{title}}}'''
[[{{{name2|{{{name}}}}}}|<font size={{{namesize|5}}} color={{{textcolor}}}>{{{name}}}</font>]]
+
[[{{{name2|{{{name}}}}}}|<font size={{{namesize|4}}} color={{{textcolor}}}>{{{name}}}</font>]]
 
|-
 
|-
| style="background-color:{{{bgcolor}}};" align="center"|[[File:{{{icon}}}|100px]]
+
| style="background-color:{{{bgcolor}}};" align="center"|[[File:{{{icon}}}|100px|link=:category:{{{category}}}]]
 
|-
 
|-
 
|-
 
|-
Line 10: Line 10:
 
| style="font-size: 95%; background-color:{{{bgcolor}}};"|
 
| style="font-size: 95%; background-color:{{{bgcolor}}};"|
 
{{{content}}}
 
{{{content}}}
{{vte|{{{templatename}}}}}
+
{{#if:{{{templatename|}}}|{{vte|{{{templatename}}}}}}}
|}<includeonly>{{#if: {{{category}}} | [[Category:{{{category}}}]] }}</includeonly><noinclude>{{DEFAULTSORT:{{PAGENAME}}}}[[Category:Sidebar navigation templates]]{{doc}}</noinclude>
+
|}<includeonly>{{#if: {{{category}}} | {{#switch: {{NAMESPACE}}
 +
| {{ns:0}}
 +
| Conservapedia
 +
| Fun =  [[Category:{{{category}}}]]
 +
|
 +
}} }}

Latest revision as of 15:01, 10 August 2016

{{{title}}}

[[{{{name}}}|{{{name}}}]]

[[File:{{{icon}}}|100px|link=:category:{{{category}}}]]
{{{title2}}}

{{{content}}}