Difference between revisions of "Template:Toplink"
Jump to navigation
Jump to search
m (→Example) |
|||
(232 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{|style="margin:0px 0px 0px 0px; background:none;" | + | <includeonly><span style="line-height:1;"> |
− | |class="MainPageBG" style="width:100%; border:1px solid # | + | {|style="margin:0px 0px 0px 0px; background:none;" |
− | {|width="100%" cellpadding="0" cellspacing="0" style="background: | + | |class="MainPageBG" style="width:100%; border:1px solid #cedff2; vertical-align:top; color:#000;"| |
− | |width=" | + | {|width="100%" cellpadding="0" cellspacing="0" style="background:#{{{backcolour|}}}; height:5px;" |
− | | | + | |width="16%" rowspan="99"|{{ifeq|if={{{Pagetype|}}}|eq=Pathology|then=[[Image:WikiPath_Banner.png]]|else=}}{{ifeq|if={{{pagetype|}}}|eq=Anatomy|then=[[Image:WikiAnt and Phys_Banner.png]]|else=}} |
− | {{if|1={{{ | + | |width="66%"|<span style="line-height:1.5;"><big><center>[[{{{linkpage|}}}|'''◄BACK TO {{{linktext|}}}''']]</center></big></span> |
− | + | |align="right" width="18%" {{if|1={{{sublink1|}}}{{{sublink2|}}}{{{sublink3|}}}{{{sublink4|}}}{{{sublink5|}}}{{{sublink6|}}}{{{sublink7|}}}{{{sublink8|}}}{{{thispagenormal|}}}{{{thispagetable|}}}{{{thispagemap|}}}|2=rowspan="1"|3=rowspan="99"}} style="vertical-align:top;"|<span style="line-height:1.5;"><b>{{toplinksub|1= {{{normallink|}}} |2= {{{tablelink|}}} |3= {{{maplink|}}}|4={{{sublink1|}}}{{{sublink2|}}}{{{sublink3|}}}{{{sublink4|}}}{{{sublink5|}}}{{{sublink6|}}}{{{sublink7|}}}{{{sublink8|}}}{{{thispagenormal|}}}{{{thispagetable|}}}{{{thispagemap|}}}}}</b></span>{{if|1={{{thispagenormal|}}}{{{thispagetable|}}}{{{thispagemap|}}}|2={{jor|1=CURRENT PAGE}}|3={{{empty|}}}}}{{if|1={{{thispagenormal|}}}{{{thispagetable|}}}{{{thispagemap|}}}|2={{vol|1={{{thispagenormal|}}}|2={{{thispagetable|}}}|3={{{thispagemap|}}}|4={{{sublink1|}}}{{{sublink2|}}}{{{sublink3|}}}{{{sublink4|}}}{{{sublink5|}}}{{{sublink6|}}}{{{sublink7|}}}{{{sublink8|}}}{{{thispagenormal|}}}{{{thispagetable|}}}{{{thispagemap|}}}}}|3={{{empty|}}}}}{{if|1={{{sublink1|}}}|2={{Toplinksublink|1 = {{{sublink1}}}|2 = {{{subtext1}}}}}|3={{{empty|}}}}}{{if|1={{{sublink1|}}}|2={{vol|1={{{normallink1|}}}|2={{{tablelink1|}}}|3={{{maplink1|}}}|4={{{sublink1|}}}{{{sublink2|}}}{{{sublink3|}}}{{{sublink4|}}}{{{sublink5|}}}{{{sublink6|}}}{{{sublink7|}}}{{{sublink8|}}}{{{thispagenormal|}}}{{{thispagetable|}}}{{{thispagemap|}}}}}|3={{{empty|}}}}}{{if|1={{{sublink2|}}}|2={{Toplinksublink|1 = {{{sublink2}}}|2 = {{{subtext2}}}}}|3={{{empty|}}}}}{{if|1={{{sublink2|}}}|2={{vol|1={{{normallink2|}}}|2={{{tablelink2|}}}|3={{{maplink2|}}}|4={{{sublink1|}}}{{{sublink2|}}}{{{sublink3|}}}{{{sublink4|}}}{{{sublink5|}}}{{{sublink6|}}}{{{sublink7|}}}{{{sublink8|}}}{{{thispagenormal|}}}{{{thispagetable|}}}{{{thispagemap|}}}}}|3={{{empty|}}}}}{{if|1={{{sublink3|}}}|2={{Toplinksublink|1 = {{{sublink3}}}|2 = {{{subtext3}}}}}|3={{{empty|}}}}}{{if|1={{{sublink3|}}}|2={{vol|1={{{normallink3|}}}|2={{{tablelink3|}}}|3={{{maplink3|}}}|4={{{sublink1|}}}{{{sublink2|}}}{{{sublink3|}}}{{{sublink4|}}}{{{sublink5|}}}{{{sublink6|}}}{{{sublink7|}}}{{{sublink8|}}}{{{thispagenormal|}}}{{{thispagetable|}}}{{{thispagemap|}}}}}|3={{{empty|}}}}}{{if|1={{{sublink4|}}}|2={{Toplinksublink|1 = {{{sublink4}}}|2 = {{{subtext4}}}}}|3={{{empty|}}}}}{{if|1={{{sublink4|}}}|2={{vol|1={{{normallink4|}}}|2={{{tablelink4|}}}|3={{{maplink4|}}}|4={{{sublink1|}}}{{{sublink2|}}}{{{sublink3|}}}{{{sublink4|}}}{{{sublink5|}}}{{{sublink6|}}}{{{sublink7|}}}{{{sublink8|}}}{{{thispagenormal|}}}{{{thispagetable|}}}{{{thispagemap|}}}}}|3={{{empty|}}}}}{{if|1={{{sublink5|}}}|2={{Toplinksublink|1 = {{{sublink5}}}|2 = {{{subtext5}}}}}|3={{{empty|}}}}}{{if|1={{{sublink5|}}}|2={{vol|1={{{normallink5|}}}|2={{{tablelink5|}}}|3={{{maplink5|}}}|4={{{sublink1|}}}{{{sublink2|}}}{{{sublink3|}}}{{{sublink4|}}}{{{sublink5|}}}{{{sublink6|}}}{{{sublink7|}}}{{{sublink8|}}}{{{thispagenormal|}}}{{{thispagetable|}}}{{{thispagemap|}}}}}|3={{{empty|}}}}}{{if|1={{{sublink6|}}}|2={{Toplinksublink|1 = {{{sublink6}}}|2 = {{{subtext6}}}}}|3={{{empty|}}}}}{{if|1={{{sublink6|}}}|2={{vol|1={{{normallink6|}}}|2={{{tablelink6|}}}|3={{{maplink6|}}}|4={{{sublink1|}}}{{{sublink2|}}}{{{sublink3|}}}{{{sublink4|}}}{{{sublink5|}}}{{{sublink6|}}}{{{sublink7|}}}{{{sublink8|}}}{{{thispagenormal|}}}{{{thispagetable|}}}{{{thispagemap|}}}}}|3={{{empty|}}}}}{{if|1={{{sublink7|}}}|2={{Toplinksublink|1 = {{{sublink7}}}|2 = {{{subtext7}}}}}|3={{{empty|}}}}}{{if|1={{{sublink7|}}}|2={{vol|1={{{normallink7|}}}|2={{{tablelink7|}}}|3={{{maplink7|}}}|4={{{sublink1|}}}{{{sublink2|}}}{{{sublink3|}}}{{{sublink4|}}}{{{sublink5|}}}{{{sublink6|}}}{{{sublink7|}}}{{{sublink8|}}}{{{thispagenormal|}}}{{{thispagetable|}}}{{{thispagemap|}}}}}|3={{{empty|}}}}}{{if|1={{{sublink8|}}}|2={{Toplinksublink|1 = {{{sublink8}}}|2 = {{{subtext8}}}}}|3={{{empty|}}}}}{{if|1={{{sublink8|}}}|2={{vol|1={{{normallink8|}}}|2={{{tablelink8|}}}|3={{{maplink8|}}}|4={{{sublink1|}}}{{{sublink2|}}}{{{sublink3|}}}{{{sublink4|}}}{{{sublink5|}}}{{{sublink6|}}}{{{sublink7|}}}{{{sublink8|}}}{{{thispagenormal|}}}{{{thispagetable|}}}{{{thispagemap|}}}}}|3={{{empty|}}}}} | |
|} | |} | ||
|style="border:1px solid transparent"| | |style="border:1px solid transparent"| | ||
− | |} | + | |}</span></includeonly> |
− | |||
<noinclude> | <noinclude> | ||
− | |||
− | |||
==Basic usage== | ==Basic usage== | ||
<p>This template produces a 'Back to' link. Parameters: | <p>This template produces a 'Back to' link. Parameters: | ||
Line 20: | Line 17: | ||
|- | |- | ||
|style="background-color:#C1F0F6;"|backcolour | |style="background-color:#C1F0F6;"|backcolour | ||
− | |style="background-color:#C1F0F6;"| | + | |style="background-color:#C1F0F6;"|Defines colour of table background. Uses [http://www.december.com/html/spec/color.html hex colours]. |
|- | |- | ||
|linkpage | |linkpage | ||
Line 28: | Line 25: | ||
|style="background-color:#C1F0F6;"|Text to display for above link. | |style="background-color:#C1F0F6;"|Text to display for above link. | ||
|- | |- | ||
− | | | + | |normallink |
− | |'Homepage' name that has | + | |'Homepage' name that has standard WikiVet layout for that section. |
|- | |- | ||
− | |style="background-color:#C1F0F6;"| | + | |style="background-color:#C1F0F6;"|tablelink |
− | |style="background-color:#C1F0F6;"|'Homepage' name that has | + | |style="background-color:#C1F0F6;"|'Homepage' name that has the table layout for that section. |
|- | |- | ||
− | | | + | |maplink |
− | | | + | |'Homepage' name that has map map layout for that section. |
|- | |- | ||
|style="background-color:#C1F0F6;"|pagetype | |style="background-color:#C1F0F6;"|pagetype | ||
− | |style="background-color:#C1F0F6;"|This applies a logo | + | |style="background-color:#C1F0F6;"|This applies a logo for that section, but the phrase has to be correct. Use 'Pathology' for WikiPath pages and 'Anatomy' for WikiAnt and Phys pages |
− | |||
− | |||
− | |||
|- | |- | ||
|<br> | |<br> | ||
| | | | ||
|- | |- | ||
− | + | |colspan="2" style="background-color:#C1F0F6;"|"CURRENT PAGE" is displayed like the sublink headings but without "◄BACK" in text, and with no link allowing for subpages to accommodate their own content maps/table views | |
− | |||
|- | |- | ||
|thispagenormal | |thispagenormal | ||
Line 61: | Line 54: | ||
| | | | ||
|- | |- | ||
− | + | |style="background-color:#C1F0F6;"|sublink1(to 8) | |
− | | | + | |style="background-color:#C1F0F6;"|Name of page that you want to link to. |
|- | |- | ||
− | | | + | |subtext1(to 8) |
− | | | + | |Text to display for above link. |
|- | |- | ||
− | |style="background-color:#C1F0F6;"| | + | |style="background-color:#C1F0F6;"|normallink1(to 8) |
− | |style="background-color:#C1F0F6;"| | + | |style="background-color:#C1F0F6;"|'Homepage' name that has standard WikiVet layout for that section. |
|- | |- | ||
|tablelink1(to 8) | |tablelink1(to 8) | ||
Line 75: | Line 68: | ||
|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. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|} | |} | ||
− | + | The background colour (backcolour) is optional and if not used white will be the default colour. | |
− | The | + | The template can be used in two scenarios: [[#Link for 'homepage'|Links for the 'homepage']] and [[#Link for other pages|links for other pages]].</p> |
− | + | ==Link for 'homepage'== | |
− | + | This provides alternative displaying options on the far right. | |
− | |||
− | |||
− | |||
− | == | ||
− | |||
− | |||
<nowiki>{{</nowiki>toplink | <nowiki>{{</nowiki>toplink | ||
+ | |backcolour = | ||
|linkpage = | |linkpage = | ||
|linktext = | |linktext = | ||
+ | |altstyles = | ||
+ | |normallink = | ||
+ | |tablelink = | ||
+ | |maplink = | ||
}} | }} | ||
− | === | + | ===Example=== |
<nowiki>{{</nowiki>toplink | <nowiki>{{</nowiki>toplink | ||
− | |linkpage = | + | |linkpage =Anatomy and Physiology |
− | | | + | |linktext =ANATOMY & PHYSIOLOGY |
− | + | |normallink = Lymphoreticular & Haematopoietic System - Anatomy & Physiology | |
+ | |tablelink = Lymphoreticular & Haematopoietic System (Table)- Anatomy & Physiology | ||
+ | |maplink = Lymphoreticular & Haematopoietic System (map Map)- Anatomy & Physiology | ||
+ | |pagetype = Anatomy | ||
+ | }} | ||
'''Gives''' | '''Gives''' | ||
{{toplink | {{toplink | ||
− | |linkpage = | + | |linkpage =Anatomy and Physiology |
− | | | + | |linktext =ANATOMY & PHYSIOLOGY |
+ | |normallink = Lymphoreticular & Haematopoietic System - Anatomy & Physiology | ||
+ | |tablelink = Lymphoreticular & Haematopoietic System (Table)- Anatomy & Physiology | ||
+ | |maplink = Lymphoreticular & Haematopoietic System (map Map)- Anatomy & Physiology | ||
|pagetype = Anatomy | |pagetype = Anatomy | ||
+ | }} | ||
+ | ==Link for other pages== | ||
+ | This provides a link back to a higher section. | ||
+ | <nowiki>{{</nowiki>toplink | ||
+ | |backcolour = | ||
+ | |linkpage = | ||
+ | |linktext = | ||
+ | }} | ||
+ | ===Example=== | ||
+ | <nowiki>{{</nowiki>toplink | ||
+ | |backcolour = FFE4E1 | ||
+ | |linkpage =Lymphoreticular & Haematopoietic System - Anatomy & Physiology | ||
+ | |linktext =Lymphoreticular & Haematopoietic System | ||
+ | }} | ||
+ | '''Gives''' | ||
+ | {{toplink | ||
+ | |backcolour = FFE4E1 | ||
+ | |linkpage =Lymphoreticular & Haematopoietic System - Anatomy & Physiology | ||
+ | |linktext =Lymphoreticular & Haematopoietic System | ||
}} | }} | ||
<br> | <br> | ||
Line 111: | Line 123: | ||
<br> | <br> | ||
<nowiki>{{</nowiki>toplink | <nowiki>{{</nowiki>toplink | ||
− | |linkpage = | + | |backcolour = FFE4E1 |
− | |linktext = | + | |linkpage =Lymphoreticular & Haematopoietic System - Anatomy & Physiology |
− | |tablelink = | + | |linktext =Lymphoreticular & Haematopoietic System |
− | |maplink = | + | |tablelink = Lymphoreticular & Haematopoietic System (Table)- Anatomy & Physiology |
− | + | |maplink = Lymphoreticular & Haematopoietic System (map Map)- Anatomy & Physiology | |
}} | }} | ||
'''Gives''' | '''Gives''' | ||
{{toplink | {{toplink | ||
− | |linkpage = | + | |backcolour = FFE4E1 |
− | |linktext = | + | |linkpage =Lymphoreticular & Haematopoietic System - Anatomy & Physiology |
− | |tablelink = | + | |linktext =Lymphoreticular & Haematopoietic System |
− | |maplink = | + | |tablelink = Lymphoreticular & Haematopoietic System (Table)- Anatomy & Physiology |
− | + | |maplink = Lymphoreticular & Haematopoietic System (map Map)- Anatomy & Physiology | |
}} | }} | ||
− | == | + | ==Further usage== |
− | This allows several 'back to' links to be used (up to 8) | + | This allows several 'back to' links to be used (up to 8). |
<nowiki>{{</nowiki>toplink | <nowiki>{{</nowiki>toplink | ||
+ | |backcolour = | ||
|linkpage = | |linkpage = | ||
|linktext = | |linktext = | ||
+ | |normallink = | ||
|tablelink = | |tablelink = | ||
|maplink = | |maplink = | ||
|sublink1 = | |sublink1 = | ||
|subtext1 = | |subtext1 = | ||
− | | | + | |sublink2 = |
− | | | + | |subtext2 = |
+ | |sublink3 = | ||
+ | |subtext3 = | ||
+ | |sublink4 = | ||
+ | |subtext4 = | ||
+ | |sublink5 = | ||
+ | |subtext5 = | ||
+ | |sublink6 = | ||
+ | |subtext6 = | ||
+ | |sublink7 = | ||
+ | |subtext7 = | ||
+ | |sublink8 = | ||
+ | |subtext8 = | ||
}} | }} | ||
===Example=== | ===Example=== | ||
<nowiki>{{</nowiki>toplink | <nowiki>{{</nowiki>toplink | ||
|linkpage =Lymphoreticular & Haematopoietic System - Pathology | |linkpage =Lymphoreticular & Haematopoietic System - Pathology | ||
− | |linktext =LYMPHORETICULAR & HAEMATOPOIETIC SYSTEM | + | |linktext =LYMPHORETICULAR & HAEMATOPOIETIC SYSTEM (Pathology) |
|sublink1 =Primary Lymphoid System - Pathology | |sublink1 =Primary Lymphoid System - Pathology | ||
− | |subtext1 = PRIMARY LYMPHOID SYSTEM | + | |subtext1 = PRIMARY LYMPHOID SYSTEM (Pathology) |
|pagetype = Pathology | |pagetype = Pathology | ||
}} | }} | ||
Line 149: | Line 175: | ||
{{toplink | {{toplink | ||
|linkpage =Lymphoreticular & Haematopoietic System - Pathology | |linkpage =Lymphoreticular & Haematopoietic System - Pathology | ||
− | |linktext =LYMPHORETICULAR & HAEMATOPOIETIC SYSTEM | + | |linktext =LYMPHORETICULAR & HAEMATOPOIETIC SYSTEM (Pathology) |
|sublink1 =Primary Lymphoid System - Pathology | |sublink1 =Primary Lymphoid System - Pathology | ||
− | |subtext1 = PRIMARY LYMPHOID SYSTEM | + | |subtext1 = PRIMARY LYMPHOID SYSTEM (Pathology) |
|pagetype = Pathology | |pagetype = Pathology | ||
}} | }} | ||
Line 158: | Line 184: | ||
<p>It is possible to have viewing options for all of the eight sublinks as well as the main link.</p> | <p>It is possible to have viewing options for all of the eight sublinks as well as the main link.</p> | ||
<nowiki>{{</nowiki>toplink | <nowiki>{{</nowiki>toplink | ||
+ | |backcolour = | ||
|linkpage = | |linkpage = | ||
|linktext = | |linktext = | ||
+ | |normallink = | ||
|tablelink = | |tablelink = | ||
|maplink = | |maplink = | ||
|pagetype = | |pagetype = | ||
− | |||
|thispagenormal= | |thispagenormal= | ||
|thispagetable = | |thispagetable = | ||
|thispagemap = | |thispagemap = | ||
+ | |normallink1 = | ||
+ | |tablelink1 = | ||
+ | |maplink1 = | ||
+ | |normallink2 = | ||
+ | |tablelink2 = | ||
+ | |maplink2 = | ||
+ | |normallink3 = | ||
+ | |tablelink3 = | ||
+ | |maplink3 = | ||
+ | |normallink4 = | ||
+ | |tablelink4 = | ||
+ | |maplink4 = | ||
+ | |normallink5 = | ||
+ | |tablelink5 = | ||
+ | |maplink5 = | ||
+ | |normallink6 = | ||
+ | |tablelink6 = | ||
+ | |maplink6 = | ||
+ | |normallink7 = | ||
+ | |tablelink7 = | ||
+ | |maplink7 = | ||
+ | |normallink8 = | ||
+ | |tablelink8 = | ||
+ | |maplink8 = | ||
|sublink1 = | |sublink1 = | ||
|subtext1 = | |subtext1 = | ||
Line 183: | Line 234: | ||
|sublink8 = | |sublink8 = | ||
|subtext8 = | |subtext8 = | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
===Example=== | ===Example=== | ||
Line 205: | Line 239: | ||
|linkpage =Lymphoreticular & Haematopoietic System - Pathology | |linkpage =Lymphoreticular & Haematopoietic System - Pathology | ||
|linktext =LYMPHORETICULAR & HAEMATOPOIETIC SYSTEM (Pathology) | |linktext =LYMPHORETICULAR & HAEMATOPOIETIC SYSTEM (Pathology) | ||
+ | |normallink = ''Put in page name here'' | ||
|tablelink = ''Put in page name here'' | |tablelink = ''Put in page name here'' | ||
|maplink = ''Put in page name here'' | |maplink = ''Put in page name here'' | ||
− | | | + | |normallink1 =''Put in page name here'' |
|tablelink1 = ''Put in page name here'' | |tablelink1 = ''Put in page name here'' | ||
|maplink1 = ''Put in page name here'' | |maplink1 = ''Put in page name here'' | ||
Line 216: | Line 251: | ||
{{toplink | {{toplink | ||
|linkpage =Lymphoreticular & Haematopoietic System - Pathology | |linkpage =Lymphoreticular & Haematopoietic System - Pathology | ||
− | |linktext =LYMPHORETICULAR & HAEMATOPOIETIC SYSTEM | + | |linktext =LYMPHORETICULAR & HAEMATOPOIETIC SYSTEM (Pathology) |
− | |tablelink = Template: | + | |tablelink = Template:Pub |
− | |maplink = Template: | + | |maplink = Template:Pub |
− | | | + | |tablelink1 = Template:Pub |
− | |maplink1 = Template: | + | |maplink1 = Template:Pub |
|sublink1 =Primary Lymphoid System - Pathology | |sublink1 =Primary Lymphoid System - Pathology | ||
− | |subtext1 = PRIMARY LYMPHOID SYSTEM | + | |subtext1 = PRIMARY LYMPHOID SYSTEM (Pathology) |
|sublink2 =Secondary Lymphoid System - Pathology | |sublink2 =Secondary Lymphoid System - Pathology | ||
− | |subtext2 = SECONDARY LYMPHOID SYSTEM | + | |subtext2 = SECONDARY LYMPHOID SYSTEM (Pathology) |
− | |tablelink2 = Template: | + | |tablelink2 = Template:Pub |
+ | |maplink2 = Template:Pub | ||
}}</noinclude> | }}</noinclude> |
Revision as of 19:18, 29 July 2008
Basic usage
This template produces a 'Back to' link. Parameters:
Parameter | Actions |
---|---|
backcolour | Defines colour of table background. Uses hex colours. |
linkpage | Name of page that you want to link to. |
linktext | Text to display for above link. |
normallink | 'Homepage' name that has standard WikiVet layout for that section. |
tablelink | 'Homepage' name that has the table layout for that section. |
maplink | 'Homepage' name that has map map layout for that section. |
pagetype | This applies a logo for that section, but the phrase has to be correct. Use 'Pathology' for WikiPath pages and 'Anatomy' for WikiAnt and Phys pages |
"CURRENT PAGE" is displayed like the sublink headings but without "◄BACK" in text, and with no link allowing for subpages to accommodate their own content maps/table views | |
thispagenormal | 'Homepage' name that has standard WikiVet layout for the current page. |
thispagetable | 'Homepage' name that has standard WikiVet layout for the current page. |
thispagemap | 'Homepage' name that has standard WikiVet layout for the current page. |
sublink1(to 8) | Name of page that you want to link to. |
subtext1(to 8) | Text to display for above link. |
normallink1(to 8) | 'Homepage' name that has standard WikiVet layout for that section. |
tablelink1(to 8) | 'Homepage' name that has the table layout for that section. |
maplink1(to 8) | 'Homepage' name that has standard WikiVet layout for that section. |
The background colour (backcolour) is optional and if not used white will be the default colour.
The template can be used in two scenarios: Links for the 'homepage' and links for other pages.
Link for 'homepage'
This provides alternative displaying options on the far right.
{{toplink |backcolour = |linkpage = |linktext = |altstyles = |normallink = |tablelink = |maplink = }}
Example
{{toplink |linkpage =Anatomy and Physiology |linktext =ANATOMY & PHYSIOLOGY |normallink = Lymphoreticular & Haematopoietic System - Anatomy & Physiology |tablelink = Lymphoreticular & Haematopoietic System (Table)- Anatomy & Physiology |maplink = Lymphoreticular & Haematopoietic System (map Map)- Anatomy & Physiology |pagetype = Anatomy }}
Gives
|
Link for other pages
This provides a link back to a higher section.
{{toplink |backcolour = |linkpage = |linktext = }}
Example
{{toplink |backcolour = FFE4E1 |linkpage =Lymphoreticular & Haematopoietic System - Anatomy & Physiology |linktext =Lymphoreticular & Haematopoietic System }}
Gives
|
OR
{{toplink |backcolour = FFE4E1 |linkpage =Lymphoreticular & Haematopoietic System - Anatomy & Physiology |linktext =Lymphoreticular & Haematopoietic System |tablelink = Lymphoreticular & Haematopoietic System (Table)- Anatomy & Physiology |maplink = Lymphoreticular & Haematopoietic System (map Map)- Anatomy & Physiology }}
Gives
|
Further usage
This allows several 'back to' links to be used (up to 8).
{{toplink |backcolour = |linkpage = |linktext = |normallink = |tablelink = |maplink = |sublink1 = |subtext1 = |sublink2 = |subtext2 = |sublink3 = |subtext3 = |sublink4 = |subtext4 = |sublink5 = |subtext5 = |sublink6 = |subtext6 = |sublink7 = |subtext7 = |sublink8 = |subtext8 = }}
Example
{{toplink |linkpage =Lymphoreticular & Haematopoietic System - Pathology |linktext =LYMPHORETICULAR & HAEMATOPOIETIC SYSTEM (Pathology) |sublink1 =Primary Lymphoid System - Pathology |subtext1 = PRIMARY LYMPHOID SYSTEM (Pathology) |pagetype = Pathology }}
Gives
|
The full code
It is possible to have viewing options for all of the eight sublinks as well as the main link.
{{toplink |backcolour = |linkpage = |linktext = |normallink = |tablelink = |maplink = |pagetype = |thispagenormal= |thispagetable = |thispagemap = |normallink1 = |tablelink1 = |maplink1 = |normallink2 = |tablelink2 = |maplink2 = |normallink3 = |tablelink3 = |maplink3 = |normallink4 = |tablelink4 = |maplink4 = |normallink5 = |tablelink5 = |maplink5 = |normallink6 = |tablelink6 = |maplink6 = |normallink7 = |tablelink7 = |maplink7 = |normallink8 = |tablelink8 = |maplink8 = |sublink1 = |subtext1 = |sublink2 = |subtext2 = |sublink3 = |subtext3 = |sublink4 = |subtext4 = |sublink5 = |subtext5 = |sublink6 = |subtext6 = |sublink7 = |subtext7 = |sublink8 = |subtext8 = }}
Example
{{toplink |linkpage =Lymphoreticular & Haematopoietic System - Pathology |linktext =LYMPHORETICULAR & HAEMATOPOIETIC SYSTEM (Pathology) |normallink = Put in page name here |tablelink = Put in page name here |maplink = Put in page name here |normallink1 =Put in page name here |tablelink1 = Put in page name here |maplink1 = Put in page name here |sublink1 =Primary Lymphoid System - Pathology |subtext1 = PRIMARY LYMPHOID SYSTEM (Pathology) }}
Gives
|