Difference between revisions of "Template:Frontpage"

From WikiVet English
Jump to navigation Jump to search
 
(17 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<includeonly>__NOTOC__ __NOEDITSECTION__
 
<includeonly>__NOTOC__ __NOEDITSECTION__
{|cellspacing="0" cellpadding="0" width="800px" style="clear:both; background-color:#fcfcfc; border:3px solid #50A6C2;" align="center"
+
<div class="frontpage-tpl">
|-
+
<div class="tpl-title"><big>{{{pagetitle|pagetitle}}}</big></div>
|colspan="4" style="background-color:#E0EEEE; padding:4px 4px 4px;"|<big><center>'''
+
<div class="tpl-body"><p>{{{pagebody|pagebody}}}</p>
{{{pagetitle|pagetitle}
+
<div class="tpl-content">
}}'''</center></big>  
+
<div class="tpl-content-1 tpl-col">
|-
+
<h2>{{{contenttitle|contenttitle}}}</h2>
|-
+
{{{contentbody|contentbody}}}
|colspan="4"|
+
</div>
{|width="740px" align="center" style="clear:both; background-color:#fcfcfc;"
+
<div class="tpl-content-2 tpl-col {{#if:{{{logo|}}}|tpl-col-logo}}">
|<p align="justify"><center
+
{{#if:{{{righttitle|}}}|<h2>{{{righttitle|righttitle}}}</h2>}}
>{{{pagebody|pagebody
+
{{#if:{{{logo|}}}|[[Image:{{{logo|}}}]]|{{{righttext|}}}}}
}}}</center></p align>
+
</div>
|}
+
</div>
|-
+
{{#if:{{{additionaltitle|}}}|<div class="tpl-content-additional"><div class="tpl-content-3 tpl-col"><h2>{{{additionaltitle|additionaltitle}}}</h2>{{{additionalbody|additionalbody}}}</div></div>}}
|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;"|
+
</includeonly><noinclude>
{|width="100%" cellpadding="2" cellspacing="0" style="vertical-align:top; background:#f5faff;"
 
!<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;
 
">{{{contenttitle|contenttitl
 
e}}}</h2>
 
|-
 
 
 
|style="color:#000;" align="left
 
"|{{{contentbody|contentbod
 
y}}}
 
|}
 
|class="MainPageBG" style="width:45%; border:1px solid #cedff2; vertical-align:{{#if:{{{logo|}}}|middle|top}};background:#f5faff;"|
 
{|width="100%" cellpadding="2" cellspacing="0" style="vertical-align:top; background:#f5faff;"
 
{{#if:{{{logo|}}}|!<br>|!<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;">{{{righttitle|}}}</h2>}}
 
|-
 
|align="{{#if:{{{logo|}}}|center|left}}"|{{#if:{{{logo|}}}|[[Image:{{{logo|}}}]]|{{{righttext|}}}}}
 
|}
 
|}
 
{{if|1={{{additionaltitle|}}}|2={{Frontadditional
 
|1={{{additionaltitle|}}}
 
|2={{{additionalbody|}}}
 
}}
 
}}
 
|-
 
|<span style="line-height:1;"><br></span>
 
|}</includeonly><noinclude>
 
 
===The code===
 
===The code===
 
====For logo====
 
====For logo====
 
+
<pre>
<pre
 
>
 
 
{{frontpage
 
{{frontpage
 
|pagetitle =
 
|pagetitle =
Line 63: Line 36:
 
}}
 
}}
 
====No logo, more content====
 
====No logo, more content====
 
+
<pre>
<pre
 
>
 
 
{{frontpage
 
{{frontpage
 
|pagetitle =
 
|pagetitle =
Line 84: Line 55:
 
}}
 
}}
 
===Example===
 
===Example===
 
+
<pre>
<pre
 
>
 
 
{{frontpage
 
{{frontpage
 
|pagetitle = Wiki Anatomy And Physiology
 
|pagetitle = Wiki Anatomy And Physiology
Line 95: Line 64:
 
|contenttitle = Content
 
|contenttitle = Content
 
|contentbody =
 
|contentbody =
<big><b>[[Alimentary - Anatomy & Physiology|Alimentary System]]
+
<big><b>[[Alimentary System Overview - Anatomy & Physiology|Alimentary System]]
  
[[Cardiorespiratory System - Anatomy & Physiology|Cardiorespiratory System]]
+
[[Cardiorespiratory System Overview - Anatomy & Physiology|Cardiorespiratory System]]
  
[[Developmental Biology - Anatomy & Physiology|Developmental Biology]]
+
[[Developmental Biology Overview - Anatomy & Physiology|Developmental Biology]]
  
[[Endocrine System - Anatomy & Physiology|Endocrine System]]  
+
[[Endocrine System Overview - Anatomy & Physiology|Endocrine System]]  
  
[[Integumentary - Anatomy & Physiology|Integumentary System]]
+
[[Integumentary System Overview - Anatomy & Physiology|Integumentary System]]
  
[[Lymphatic System - Anatomy & Physiology|Lymphatic System]]
+
[[Lymphatic System Overview - Anatomy & Physiology|Lymphatic System]]
  
 
[[Musculoskeletal System - Anatomy & Physiology|Musculoskeletal System]]
 
[[Musculoskeletal System - Anatomy & Physiology|Musculoskeletal System]]
Line 111: Line 80:
 
[[Nervous and Special Senses - Anatomy & Physiology|Nervous and Special Senses]]
 
[[Nervous and Special Senses - Anatomy & Physiology|Nervous and Special Senses]]
  
[[Reproductive System - Anatomy & Physiology|Reproductive System]]  
+
[[Reproductive System Overview - Anatomy & Physiology|Reproductive System]]  
  
[[Urinary System - Anatomy & Physiology | Urinary System]]</b></big>
+
[[Urinary System Overview - Anatomy & Physiology | Urinary System]]</b></big>
 
|logo = anat logo.png
 
|logo = anat logo.png
 
}}
 
}}
 
</pre>
 
</pre>
 
+
'''Gives'''
'''Gives''
 
'
 
 
{{frontpage
 
{{frontpage
 
|pagetitle=Wiki Anatomy And Physiology
 
|pagetitle=Wiki Anatomy And Physiology
Line 126: Line 93:
 
|contenttitle=Content
 
|contenttitle=Content
 
|contentbody=
 
|contentbody=
<big><b>[[Alimentary - Anatomy & Physiology|Alimentary System]]
+
<big><b>[[Alimentary System Overview - Anatomy & Physiology|Alimentary System]]
  
[[Cardiorespiratory System - Anatomy & Physiology|Cardiorespiratory System]]
+
[[Cardiorespiratory System Overview - Anatomy & Physiology|Cardiorespiratory System]]
  
[[Developmental Biology - Anatomy & Physiology|Developmental Biology]]
+
[[Developmental Biology Overview - Anatomy & Physiology|Developmental Biology]]
  
[[Endocrine System - Anatomy & Physiology|Endocrine System]]  
+
[[Endocrine System Overview - Anatomy & Physiology|Endocrine System]]  
  
[[Integumentary - Anatomy & Physiology|Integumentary System]]
+
[[Integumentary System Overview - Anatomy & Physiology|Integumentary System]]
  
[[Lymphatic System - Anatomy & Physiology|Lymphatic System]]
+
[[Lymphatic System Overview - Anatomy & Physiology|Lymphatic System]]
  
 
[[Musculoskeletal System - Anatomy & Physiology|Musculoskeletal System]]
 
[[Musculoskeletal System - Anatomy & Physiology|Musculoskeletal System]]
Line 142: Line 109:
 
[[Nervous and Special Senses - Anatomy & Physiology|Nervous and Special Senses]]
 
[[Nervous and Special Senses - Anatomy & Physiology|Nervous and Special Senses]]
  
[[Reproductive System - Anatomy & Physiology|Reproductive System]]  
+
[[Reproductive System Overview - Anatomy & Physiology|Reproductive System]]  
  
[[Urinary System - Anatomy & Physiology | Urinary System]]</b></big>
+
[[Urinary System Overview - Anatomy & Physiology | Urinary System]]</b></big>
 
|logo=anat logo.png
 
|logo=anat logo.png
 
}}</noinclude>
 
}}</noinclude>

Latest revision as of 13:37, 8 December 2020

The code

{{frontpage
|pagetitle =
|pagebody = 
|contenttitle =
|contentbody =
|logo = 
}}


pagetitle

pagebody

contenttitle

contentbody

No logo, more content

{{frontpage
|pagetitle =
|pagebody = 
|contenttitle =
|contentbody =
|righttitle =
|righttext =
}}


pagetitle

pagebody

contenttitle

contentbody

righttitle

righttext

Example

{{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]]

[[Endocrine System Overview - Anatomy & Physiology|Endocrine System]] 

[[Integumentary System Overview - Anatomy & Physiology|Integumentary System]]

[[Lymphatic System Overview - Anatomy & Physiology|Lymphatic System]]

[[Musculoskeletal System - Anatomy & Physiology|Musculoskeletal System]]

[[Nervous and Special Senses - Anatomy & Physiology|Nervous and Special Senses]]

[[Reproductive System Overview - Anatomy & Physiology|Reproductive System]] 

[[Urinary System Overview - Anatomy & Physiology | Urinary System]]</b></big>
|logo = anat logo.png
}}

Gives

Wiki Anatomy And Physiology

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.