768 bytes added ,  16:40, 9 December 2020
no edit summary
Line 1: Line 1:  
<includeonly>{|style="margin:0px 0px 0px 0px; background:none;"
 
<includeonly>{|style="margin:0px 0px 0px 0px; background:none;"
 
|class="MainPageBG" style="width:100%; border:1px solid #{{{titleborder|cedff2}}}; vertical-align:top; color:#000;"|
 
|class="MainPageBG" style="width:100%; border:1px solid #{{{titleborder|cedff2}}}; vertical-align:top; color:#000;"|
{|width="100%" cellpadding="0" cellspacing="0" style="background:rgb(224, 238, 238); height:5px;"
+
{|width="100%" cellpadding="0" cellspacing="0" style="background:rgb(224, 238, 238); margin:0;"
|width="18%" rowspan="99"|{{ifeq|if={{{pagetype|}}}|eq=Anatomy|then={{Topmap|image=WikiAnt and Phys_Banner.png|name=Anatomy and Physiology|ver=20|hor=76}}|else={{ifeq|if={{{pagetype|}}}|eq=Pathology|then={{Topmap|image=WikiPath_Banner.png|name=WikiPath|ver=20|hor=76}}|else={{ifeq|if={{{pagetype|}}}|eq=Bugs|then={{Topmap|image=WikiBugs_Banner.png|name=Infectious agents and parasites|ver=20|hor=76}}|else={{ifeq|if={{{pagetype|}}}|eq=Clinical|then={{Topmap|image=WikiClinical_Banner.png|name=WikiClinical|ver=20|hor=76}}|else={{ifeq|if={{{pagetype|}}}|eq=Blood|then={{Topmap|image=WikiBlood Banner.png|name=WikiBlood|ver=20|hor=76}}|else={{ifeq|if={{{pagetype|}}}|eq=VPH|then={{Topmap|image=WikiVPH Banner.png|name=Veterinary Public Health|ver=20|hor=76}}|else={{ifeq|if={{{pagetype|}}}|eq=Help|then={{Topmap|image=Help Banner.png|name=Help:Contents|ver=20|hor=76}}|else={{ifeq|if={{{pagetype|}}}|eq=Drugs|then={{Topmap|image=WikiDrugs_Banner.png|name=WikiDrugs|ver=20|hor=76}}|else={{ifeq|if={{{pagetype|}}}|eq=WikiNormals|then={{Topmap|image=WikiNormals Banner.png|name=WikiNormals|ver=20|hor=76}}|else={{ifeq|if={{{pagetype|}}}|eq=Donkey|then={{Topmap|image=Donkey Banner.png|name=Donkey|ver=20|hor=76}}|else=}}{{ifeq|if={{{pagetype|}}}|eq=eLearn|then={{Topmap|image=ELearn Banner.png|name=WikiVet Learning Environment|ver=20|hor=76}}|else=}}}}}}}}}}}}}}}}}}}}
+
|width="18%" rowspan="99"|{{ifeq|if={{{pagetype|}}}|eq=Anatomy|then={{Topmap|image=WikiAnt and Phys_Banner.png|name=Anatomy and Physiology|ver=20|hor=76}}[[Category:WikiAnat and Phys]]|else=}}{{ifeq|if={{{pagetype|}}}|eq=Pathology|then={{Topmap|image=WikiPath_Banner.png|name=WikiPath|ver=20|hor=76}}[[Category:WikiPath]]|else=}}{{ifeq|if={{{pagetype|}}}|eq=Bugs|then={{Topmap|image=WikiBugs_Banner.png|name=Infectious agents and parasites|ver=20|hor=76}}[[Category:WikiBugs]]|else=}}{{ifeq|if={{{pagetype|}}}|eq=Clinical|then={{Topmap|image=WikiClinical_Banner.png|name=WikiClinical|ver=20|hor=76}}[[Category:WikiClinical]]|else=}}{{ifeq|if={{{pagetype|}}}|eq=Blood|then={{Topmap|image=WikiBlood Banner.png|name=WikiBlood|ver=20|hor=76}}[[Category:WikiBlood]]|else=}}{{ifeq|if={{{pagetype|}}}|eq=VPH|then={{Topmap|image=WikiVPH Banner.png|name=Veterinary Public Health|ver=20|hor=76}}[[Category:WikiVPH]]|else=}}{{ifeq|if={{{pagetype|}}}|eq=Help|then={{Topmap|image=Help Banner.png|name=Help:Contents|ver=20|hor=76}}|else=}}{{ifeq|if={{{pagetype|}}}|eq=Drugs|then={{Topmap|image=WikiDrugs_Banner.png|name=WikiDrugs|ver=20|hor=76}}[[Category:WikiDrugs]]|else=}}{{ifeq|if={{{pagetype|}}}|eq=WikiNormals|then={{Topmap|image=WikiNormals Banner.png|name=WikiNormals|ver=20|hor=76}}[[Category:WikiNormals]]|else=}}{{ifeq|if={{{pagetype|}}}|eq=eLearn|then={{Topmap|image=ELearn Banner.png|name=WikiVet Learning Environment|ver=20|hor=76}}|else=}}{{ifeq|if={{{pagetype|}}}|eq=Donkey|then={{Topmap|image=Donkey Banner.png|name=Donkey|ver=20|hor=76}}|else=}}{{ifeq|if={{{pagetype|}}}|eq=Quiz|then={{Topmap|image=WikiQuiz Banner.png|name=WikiQuiz|ver=20|hor=76}}|else=}}
|width="64%"|<span style="line-height:1;"><center>{{if|1={{{tablelink|}}}{{{maplink|}}}|2=<span style="color: rgb(224, 238, 238);"><font size="1">()</font></span>}}{{if|1={{{maplink|}}}|2=<span style="color: rgb(224, 238, 238);"><font size="1">Map</font></span>{{if|1={{{tablelink|}}}|2=<span style="color: rgb(224, 238, 238);"><font size="1">\</font></span>}}}}{{if|1={{{tablelink|}}}|2=<span style="color: rgb(224, 238, 238);"><font size="1">Tab</font></span>}} {{if|1={{{linkpage|}}}|2=[[{{{linkpage|}}}|<font size="2">'''{{uc:{{{linktext|}}}}}'''</font>]]}} <font size="1">{{if|1={{{tablelink|}}}{{{maplink|}}}|2=(}}{{if|1={{{maplink|}}}|2=[[{{{maplink|}}}|Map]]{{if|1={{{tablelink|}}}|2=/}}}}{{if|1={{{tablelink|}}}|2=[[{{{tablelink|}}}|Tab]]}}{{if|1={{{tablelink|}}}{{{maplink|}}}|2=)}}</font></center></span>{{if|1={{{thispagenormal|}}}{{{thispagemap|}}}{{{thispagetable|}}}|2={{Toplinksublink|1={{PAGENAME}}|2=CURRENT PAGE|3={{{thispagemap|}}}|4={{{thispagetable|}}}|5={{{thispagenormal|}}}}}}}{{if|1={{{sublink1|}}}|2={{Toplinksublink|1={{{sublink1|}}}|2={{{subtext1|}}}|3={{{maplink1|}}}|4={{{tablelink1|}}}}}}}{{if|1={{{sublink2|}}}|2={{Toplinksublink|1={{{sublink2|}}}|2={{{subtext2|}}}|3={{{maplink2|}}}|4={{{tablelink2|}}}}}}}{{if|1={{{sublink3|}}}|2={{Toplinksublink|1={{{sublink3|}}}|2={{{subtext3|}}}|3={{{maplink3|}}}|4={{{tablelink3|}}}}}}}{{if|1={{{sublink4|}}}|2={{Toplinksublink|1={{{sublink4|}}}|2={{{subtext4|}}}|3={{{maplink4|}}}|4={{{tablelink4|}}}}}}}{{if|1={{{sublink5|}}}|2={{Toplinksublink|1={{{sublink5|}}}|2={{{subtext5|}}}|3={{{maplink5|}}}|4={{{tablelink5|}}}}}}}
+
|width="64%" valign="middle"|{{if|1={{{sublink1|}}}|2=<span style="line-height:1;">}}<center>{{if|1={{{tablelink|}}}{{{maplink|}}}|2=<span style="color: rgb(224, 238, 238);"><font size="1">()</font></span>}}{{if|1={{{maplink|}}}|2=<span style="color: rgb(224, 238, 238);"><font size="1">Map</font></span>{{if|1={{{tablelink|}}}|2=<span style="color: rgb(224, 238, 238);"><font size="1">\</font></span>}}}}{{if|1={{{tablelink|}}}|2=<span style="color: rgb(224, 238, 238);"><font size="1">Tab</font></span>}} {{if|1={{{linkpage|}}}|2=[[{{{linkpage|}}}|<font size="2">'''{{uc:{{{linktext|}}}}}'''</font>]]}} <font size="1">{{if|1={{{tablelink|}}}{{{maplink|}}}|2=(}}{{if|1={{{maplink|}}}|2=[[{{{maplink|}}}|Map]]{{if|1={{{tablelink|}}}|2=/}}}}{{if|1={{{tablelink|}}}|2=[[{{{tablelink|}}}|Tab]]}}{{if|1={{{tablelink|}}}{{{maplink|}}}|2=)}}</font></center>{{if|1={{{sunblink1|}}}|2=</span>}}{{if|1={{{thispagenormal|}}}{{{thispagemap|}}}{{{thispagetable|}}}|2={{Toplinksublink|1={{PAGENAME}}|2=CURRENT PAGE|3={{{thispagemap|}}}|4={{{thispagetable|}}}|5={{{thispagenormal|}}}}}}}{{if|1={{{sublink1|}}}|2={{Toplinksublink|1={{{sublink1|}}}|2={{{subtext1|}}}|3={{{maplink1|}}}|4={{{tablelink1|}}}}}}}{{if|1={{{sublink2|}}}|2={{Toplinksublink|1={{{sublink2|}}}|2={{{subtext2|}}}|3={{{maplink2|}}}|4={{{tablelink2|}}}}}}}{{if|1={{{sublink3|}}}|2={{Toplinksublink|1={{{sublink3|}}}|2={{{subtext3|}}}|3={{{maplink3|}}}|4={{{tablelink3|}}}}}}}{{if|1={{{sublink4|}}}|2={{Toplinksublink|1={{{sublink4|}}}|2={{{subtext4|}}}|3={{{maplink4|}}}|4={{{tablelink4|}}}}}}}{{if|1={{{sublink5|}}}|2={{Toplinksublink|1={{{sublink5|}}}|2={{{subtext5|}}}|3={{{maplink5|}}}|4={{{tablelink5|}}}}}}}
 
{{if|1={{{sublink6|}}}|2={{Toplinksublink|1={{{sublink6|}}}|2={{{subtext6|}}}|3={{{maplink6|}}}|4={{{tablelink6|}}}}}}}{{if|1={{{sublink7|}}}|2={{Toplinksublink|1={{{sublink7|}}}|2={{{subtext7|}}}|3={{{maplink7|}}}|4={{{tablelink7|}}}}}}}{{if|1={{{sublink8|}}}|2={{Toplinksublink|1={{{sublink8|}}}|2={{{subtext8|}}}|3={{{maplink8|}}}|4={{{tablelink8|}}}}}}}
 
{{if|1={{{sublink6|}}}|2={{Toplinksublink|1={{{sublink6|}}}|2={{{subtext6|}}}|3={{{maplink6|}}}|4={{{tablelink6|}}}}}}}{{if|1={{{sublink7|}}}|2={{Toplinksublink|1={{{sublink7|}}}|2={{{subtext7|}}}|3={{{maplink7|}}}|4={{{tablelink7|}}}}}}}{{if|1={{{sublink8|}}}|2={{Toplinksublink|1={{{sublink8|}}}|2={{{subtext8|}}}|3={{{maplink8|}}}|4={{{tablelink8|}}}}}}}
 
|align="right" width="18%"|{{{rspace|}}}
 
|align="right" width="18%"|{{{rspace|}}}
 
|}
 
|}
 
|style="border:1px solid transparent"|
 
|style="border:1px solid transparent"|
|}</includeonly>
+
|}
 +
{{if|1={{{Review|}}}|2={{QuizCheck|Review={{{Review|}}}}}}}</includeonly>
 
<noinclude>
 
<noinclude>
 
<p>''Toplink is the navigational bar found at the top of most of WikiVet pages. This page explains how to use the code and the features available. For instructions on how to use this tempalte on WikiVet please refer to this [[Help:Toplink Deployment|guide]].''</p>
 
<p>''Toplink is the navigational bar found at the top of most of WikiVet pages. This page explains how to use the code and the features available. For instructions on how to use this tempalte on WikiVet please refer to this [[Help:Toplink Deployment|guide]].''</p>
Line 37: Line 38:  
|-
 
|-
 
|style="background-color:#C1F0F6;"|pagetype
 
|style="background-color:#C1F0F6;"|pagetype
|style="background-color:#C1F0F6;"|This applies a logo (with link to section front page) for that section, but the phrase has to be correct. Use 'Pathology' for WikiPath pages, 'Anatomy' for WikiAnt and Phys pages, 'Bugs' for WikiBugs pages, 'Clinical' for WikiClinical pages 'VPH' for WikiVPH pages, 'Blood' for WikiBlood 'Drugs' for WikiDrugs 'WikiNormals' for WikiNormals and 'Help' for Help pages.
+
|style="background-color:#C1F0F6;"|This applies a logo (with link to section front page) for that section, but the phrase has to be correct. Use 'Pathology' for WikiPath pages, 'Anatomy' for WikiAnt and Phys pages, 'Bugs' for WikiBugs pages, 'Clinical' for WikiClinical pages 'VPH' for WikiVPH pages, 'Blood' for WikiBlood 'Drugs' for WikiDrugs 'WikiNormals' for WikiNormals, 'Donkey' for Donkey pages, 'Quiz' for WikiQuiz pages' and 'Help' for Help pages.
 +
|-
 +
|rspace
 +
|Used to for adding content in right-hand side of toplink
 
|-
 
|-
 
|<br>
 
|<br>
Line 71: Line 75:  
|style="background-color:#C1F0F6;"|maplink1(to 8)  
 
|style="background-color:#C1F0F6;"|maplink1(to 8)  
 
|style="background-color:#C1F0F6;"|'Homepage' name that has standard WikiVet layout for that section.
 
|style="background-color:#C1F0F6;"|'Homepage' name that has standard WikiVet layout for that section.
 +
|-
 +
!align="left"|Others
 +
|
 +
|-
 +
|style="background-color:#C1F0F6;"|Review
 +
|style="background-color:#C1F0F6;"|Text input is placed into [[Template:QuizCheck|QuizCheck]] and displayed in banner under toplink
 
|}
 
|}
 
</p>
 
</p>
Line 88: Line 98:  
===Examples===
 
===Examples===
 
  <nowiki>{{</nowiki>toplink
 
  <nowiki>{{</nowiki>toplink
  |linkpage =Lymphatic System - Anatomy & Physiology
+
  |linkpage =Lymphatic System Overview - Anatomy & Physiology
 
  |linktext =Lymphatic System
 
  |linktext =Lymphatic System
|pagetype = Anatomy
+
  }}
}}
   
'''Gives'''
 
'''Gives'''
 
{{toplink
 
{{toplink
|linkpage =Lymphatic System - Anatomy & Physiology
+
|linkpage =Lymphatic System Overview - Anatomy & Physiology
 
|linktext =Lymphatic System
 
|linktext =Lymphatic System
 
|pagetype = Anatomy
 
|pagetype = Anatomy
Line 102: Line 111:  
<br>
 
<br>
 
  <nowiki>{{</nowiki>toplink
 
  <nowiki>{{</nowiki>toplink
  |linkpage =Lymphatic System - Anatomy & Physiology
+
  |linkpage =Lymphatic System Overview - Anatomy & Physiology
 
  |linktext =Lymphatic System
 
  |linktext =Lymphatic System
 
  |tablelink = Lymphatic System (Table) - Anatomy & Physiology
 
  |tablelink = Lymphatic System (Table) - Anatomy & Physiology
Line 110: Line 119:  
'''Gives'''
 
'''Gives'''
 
{{toplink
 
{{toplink
|linkpage =Lymphatic System - Anatomy & Physiology
+
|linkpage =Lymphatic System Overview - Anatomy & Physiology
 
|linktext =Lymphatic System
 
|linktext =Lymphatic System
 
|tablelink = Lymphatic System (Table) - Anatomy & Physiology
 
|tablelink = Lymphatic System (Table) - Anatomy & Physiology
1,157

edits