Difference between revisions of "Template:Frontpage"

From WikiVet English
Jump to navigation Jump to search
(55 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>__NOTOC__ __NOEDITSECTION__
+
__NOTOC__
<div class="frontpage-tpl">
+
{|cellspacing="0" cellpadding="0" width="800px" style="clear:both; background-color:#fcfcfc; border:3px solid #50A6C2;" align="center"
<div class="tpl-title"><big>{{{pagetitle|pagetitle}}}</big></div>
+
|-
<div class="tpl-body"><p>{{{pagebody|pagebody}}}</p>
+
|colspan="4" style="background-color:#E0EEEE; padding:4px 4px 4px;"|<big><center>'''{{{pagetitle|}}}'''</center></big>  
<div class="tpl-content">
+
|-
<div class="tpl-content-1 tpl-col">
+
|-
<h2>{{{contenttitle|contenttitle}}}</h2>
+
|colspan="4"|
{{{contentbody|contentbody}}}
+
{|width="740px" align="center" style="clear:both; background-color:#fcfcfc;"
</div>
+
|<p align="justify"><center>{{{pagebody|}}}</center></p align>
<div class="tpl-content-2 tpl-col {{#if:{{{logo|}}}|tpl-col-logo}}">
+
|}
{{#if:{{{righttitle|}}}|<h2>{{{righttitle|righttitle}}}</h2>}}
+
|-
{{#if:{{{logo|}}}|[[Image:{{{logo|}}}]]|{{{righttext|}}}}}
+
|colspan="4" align="center"|<!---------------------------Main content------------------------>
</div>
+
{|style="margin:0px 0px 0px 0px; background:none;" align="center" width="740px"
</div>
+
|class="MainPageBG" style="width:50%; border:1px solid #cef2e0; background:#f5faff; vertical-align:top; color:#000;"|
{{#if:{{{additionaltitle|}}}|<div class="tpl-content-additional"><div class="tpl-content-3 tpl-col"><h2>{{{additionaltitle|additionaltitle}}}</h2>{{{additionalbody|additionalbody}}}</div></div>}}
+
{|width="100%" cellpadding="2" cellspacing="0" style="vertical-align:top; background:#f5faff;"
</div>
+
!
</div>
 
</includeonly><noinclude>
 
===The code===
 
====For logo====
 
<pre>
 
{{frontpage
 
|pagetitle =
 
|pagebody =  
 
|contenttitle =
 
|contentbody =
 
|logo =
 
}}</pre>
 
  
{{frontpage
+
<h2 id="mp-tfa-h2" style="margin:0; background:#cedff2; font-size:120%; font-weight:bold; border:1px solid #a3bfb1; text-align:left; color:#000; padding:0.2em 0.4em;">Content by Species</h2>
|pagetitle = pagetitle
+
|-
|pagebody = pagebody
+
|style="color:#000;" align="left"|
|contenttitle = contenttitle
+
{|cellpadding="3" align="center" style="clear:both; background-color:#fcfcfc"
|contentbody = contentbody
+
|[[Image:dog-logo.png|80px|<center>[[Canine Clinical Section]]</center>]]
|logo = A Logo
+
|[[Image:Cat-logo.png|80px|<center>[[Feline Clinical Section]]</center>]]
}}
+
|[[Image:Cow-logo.png|80px|<center>[[Bovine Clinical Section]]</center>]]
====No logo, more content====
+
|[[Image:Horse-logo.png|80px|<center>[[Equine Clinical Section]]</center>]]
<pre>
+
|-align="center"
{{frontpage
+
|<center>[[Canine Clinical Section|Canine Section]]</center>
|pagetitle =
+
|<center>[[Feline Clinical Section|Feline Section]]</center>
|pagebody =
+
|<center>[[Bovine Clinical Section|Bovine Section]]</center>
|contenttitle =
+
|<center>[[Equine Clinical Section|Equine Section]]</center>
|contentbody =
+
|-align="center"
|righttitle =
+
|[[Image:Pig-logo.png|80px|<center>[[Porcine Clinical Section]]</center>]]
|righttext =
+
|[[Image:Sheep-logo2.png|80px|<center>[[Small Ruminants Clinical Section]]</center>]]
}}</pre>
+
|[[Image:Alpaca-logo.png|80px|<center>[[Camelid Clinical Section]]</center>]]
 +
|[[Image:chicken-logo.png|80px|<center>[[Avian Clinical Section]]</center>]]
 +
|-align="center"
 +
|<center>[[Porcine Clinical Section|Porcine Section]]</center>
 +
|<center>[[Small Ruminants Clinical Section|Small Ruminants Section]]</center>
 +
|<center>[[Camelid Clinical Section|Camelid Section]]</center>
 +
|<center>[[Avian Clinical Section|Avian Section]]</center>
 +
|-align="center"
 +
|[[Image:Lizard-logo.png|80px|<center>[[Exotics Clinical Section]]</center>]]
 +
|[[Image:clin-logo.png|80px|<center>[[Clinical Techniques]]</center>]]
 +
|
 +
|
 +
|-align="center"
 +
|<center>[[Exotics Clinical Section|Exotics Section]]</center>
 +
|<center>[[Clinical Techniques]]</center>
 +
|}
 +
|}
 +
|class="MainPageBG" style="width:45%; border:1px solid #cedff2; vertical-align:middle;background:#f5faff;"|
 +
{|width="100%" cellpadding="2" cellspacing="0" style="vertical-align:top; background:#f5faff;"
 +
!<br>
 +
|-
 +
|align="center"|[[Image:clin-logo copy.png]]
 +
|}
 +
|}
 +
{|style="margin:0px 0px 0px 0px; background:none;" align="center" width="740px"
 +
|class="MainPageBG" style="width:50%; border:1px solid #cef2e0; background:#f5faff; vertical-align:top; color:#000;"|
 +
{|width="100%" cellpadding="2" cellspacing="0" style="vertical-align:top; background:#f5faff;"
 +
!
  
{{frontpage
+
<h2 id="mp-tfa-h2" style="margin:0; background:#cedff2; font-size:120%; font-weight:bold; border:1px solid #a3bfb1; text-align:left; color:#000; padding:0.2em 0.4em;">Content by System</h2>
|pagetitle = pagetitle
+
|-
|pagebody = pagebody
+
|style="color:#000;" align="left"|
|contenttitle = contenttitle
+
<big><b>
|contentbody = contentbody
+
[[Alimentary Diseases]]  
|righttitle = righttitle
 
|righttext = righttext
 
}}
 
===Example===
 
<pre>
 
{{frontpage
 
|pagetitle = Wiki Anatomy And Physiology
 
|pagebody =  
 
Welcome to the Anatomy and Physiology section of WikiVet. Anatomy is the study of form and structure of organisms, whilst
 
physiology is the study of the function of an organism and the processes, physical, chemical and biological, occuring within
 
it. Here we cover all the anatomical and physiological points that make up our domestic species and exotic species.
 
|contenttitle = Content
 
|contentbody =
 
<big><b>[[Alimentary System Overview - Anatomy & Physiology|Alimentary System]]
 
  
[[Cardiorespiratory System Overview - Anatomy & Physiology|Cardiorespiratory System]]
 
  
[[Developmental Biology Overview - Anatomy & Physiology|Developmental Biology]]
+
[[Cardiovascular Diseases - WikiClinical|Cardiovascular Diseases]]
  
[[Endocrine System Overview - Anatomy & Physiology|Endocrine System]]
 
  
[[Integumentary System Overview - Anatomy & Physiology|Integumentary System]]
+
Respiratory Diseases
  
[[Lymphatic System Overview - Anatomy & Physiology|Lymphatic System]]
 
  
[[Musculoskeletal System - Anatomy & Physiology|Musculoskeletal System]]
+
Musculoskeletal Diseases
  
[[Nervous and Special Senses - Anatomy & Physiology|Nervous and Special Senses]]
 
  
[[Reproductive System Overview - Anatomy & Physiology|Reproductive System]]
+
Neurological Diseases
  
[[Urinary System Overview - Anatomy & Physiology | Urinary System]]</b></big>
 
|logo = anat logo.png
 
}}
 
</pre>
 
'''Gives'''
 
{{frontpage
 
|pagetitle=Wiki Anatomy And Physiology
 
|pagebody=
 
Welcome to the Anatomy and Physiology section of WikiVet. Anatomy is the study of form and structure of organisms, whilst physiology is the study of the function of an organism and the processes, physical, chemical and biological, occuring within it. Here we cover all the anatomical and physiological points that make up our domestic species and exotic species.
 
|contenttitle=Content
 
|contentbody=
 
<big><b>[[Alimentary System Overview - Anatomy & Physiology|Alimentary System]]
 
  
[[Cardiorespiratory System Overview - Anatomy & Physiology|Cardiorespiratory System]]
+
[[Lymphoreticular and Haematopoietic Diseases - WikiClinical|Lymphoreticular and Haematopoietic Diseases]]
  
[[Developmental Biology Overview - Anatomy & Physiology|Developmental Biology]]
 
  
[[Endocrine System Overview - Anatomy & Physiology|Endocrine System]]
+
Endocrine Diseases
  
[[Integumentary System Overview - Anatomy & Physiology|Integumentary System]]
 
  
[[Lymphatic System Overview - Anatomy & Physiology|Lymphatic System]]
+
Urogenital Diseases
  
[[Musculoskeletal System - Anatomy & Physiology|Musculoskeletal System]]
 
  
[[Nervous and Special Senses - Anatomy & Physiology|Nervous and Special Senses]]
+
Dermatological Diseases
 +
</b>
 +
|}
  
[[Reproductive System Overview - Anatomy & Physiology|Reproductive System]]
+
|}
 
+
|-
[[Urinary System Overview - Anatomy & Physiology | Urinary System]]</b></big>
+
|<span style="line-height:1;"><br></span>
|logo=anat logo.png
+
|}
}}</noinclude>
 

Revision as of 14:35, 7 October 2008

'

Content by Species

Canine Clinical Section Feline Clinical Section Bovine Clinical Section Equine Clinical Section
Canine Section
Feline Section
Bovine Section
Equine Section
Porcine Clinical Section Small Ruminants Clinical Section Camelid Clinical Section Avian Clinical Section
Porcine Section
Small Ruminants Section
Camelid Section
Avian Section
Exotics Clinical Section Clinical Techniques
Exotics Section
Clinical Techniques

Clin-logo copy.png

Content by System

Alimentary Diseases


Cardiovascular Diseases


Respiratory Diseases


Musculoskeletal Diseases


Neurological Diseases


Lymphoreticular and Haematopoietic Diseases


Endocrine Diseases


Urogenital Diseases


Dermatological Diseases