Difference between revisions of "Template:Frontpage"

From WikiVet English
Jump to navigation Jump to search
Line 3: Line 3:
 
|-
 
|-
 
|colspan="4" style="background-color:#E0EEEE; padding:4px 4px 4px;"|<big><center>'''
 
|colspan="4" style="background-color:#E0EEEE; padding:4px 4px 4px;"|<big><center>'''
}'''</center></big>  
+
{{{pagetitle|pagetitle}
 +
}}'''</center></big>  
 
|-
 
|-
 
|-
 
|-
 
|colspan="4"|
 
|colspan="4"|
 
{|width="740px" align="center" style="clear:both; background-color:#fcfcfc;"
 
{|width="740px" align="center" style="clear:both; background-color:#fcfcfc;"
|<p align="justify">
+
|<p align="justify"><center
{{{pagebody|pagebody}}}</center></p align>
+
>{{{pagebody|pagebody
 +
}}}</center></p align>
 
|}
 
|}
 
|-
 
|-
Line 17: Line 19:
 
{|width="100%" cellpadding="2" cellspacing="0" style="vertical-align:top; background:#f5faff;"
 
{|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;
 
!<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>
{
 
{{contenttitle|contenttitle}}}</
 
h2>
 
 
|-
 
|-
  
 
|style="color:#000;" align="left
 
|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;"|
{{contentbody|contentbody}
 
}}
 
|}|cl
 
ass="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;"
 
{|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>}}
 
{{#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>}}
Line 39: Line 34:
 
|}
 
|}
 
|}
 
|}
 
+
{{if|1={{{additionaltitle|}}}|2={{Frontadditional
 
+
|1={{{additionaltitle|}}}
 
+
|2={{{additionalbody|}}}
{
+
}}
{if|1={{{additionaltitle|}}}|2={{Fr
+
}}
o
 
 
 
ntadditional
 
 
 
|1={{{addit
 
ionaltitle|}}}|2={{{additionalbody|}}}}}
 
}
 
}
 
 
|-
 
|-
|
+
|<span style="line-height:1;"><br></span>
<sp
 
an style="line-height:1;"><br></span>
 
 
|}</includeonly><noinclude>
 
|}</includeonly><noinclude>
 
===The code===
 
===The code===
 
====For logo====
 
====For logo====
<pre>
 
 
{{frontp
 
age
 
  
 +
<pre
 +
>
 +
{{frontpage
 
|pagetitle =
 
|pagetitle =
 
|pagebody =  
 
|pagebody =  
Line 69: Line 53:
 
|contentbody =
 
|contentbody =
 
|logo =  
 
|logo =  
}
+
}}</pre>
}</pre>
+
 
 
{{frontpage
 
{{frontpage
 
|pagetitle = pagetitle
 
|pagetitle = pagetitle
Line 77: Line 61:
 
|contentbody = contentbody
 
|contentbody = contentbody
 
|logo = A Logo
 
|logo = A Logo
}
+
}}
}
+
====No logo, more content====
====No logo,more content====
+
 
<pre>
+
<pre
 +
>
 
{{frontpage
 
{{frontpage
 
|pagetitle =
 
|pagetitle =
Line 88: Line 73:
 
|righttitle =
 
|righttitle =
 
|righttext =
 
|righttext =
}
+
}}</pre>
}</pre>
 
  
{
+
{{frontpage
{frontpage
 
 
|pagetitle = pagetitle
 
|pagetitle = pagetitle
 
|pagebody = pagebody
 
|pagebody = pagebody
Line 98: Line 81:
 
|contentbody = contentbody
 
|contentbody = contentbody
 
|righttitle = righttitle  
 
|righttitle = righttitle  
|righttext = righttext }}=
+
|righttext = righttext  
==Example===
+
}}
 
+
===Example===
<pre>{
 
{frontpage
 
 
 
  
 +
<pre
 +
>
 +
{{frontpage
 
|pagetitle = Wiki Anatomy And Physiology
 
|pagetitle = Wiki Anatomy And Physiology
 
|pagebody =  
 
|pagebody =  
Line 130: Line 113:
 
[[Reproductive System - Anatomy & Physiology|Reproductive System]]  
 
[[Reproductive System - Anatomy & Physiology|Reproductive System]]  
  
[[Urinary System - Anatomy & Physiology | Urinary System]]</b></big>|logo = anat logo.png}}<
+
[[Urinary System - Anatomy & Physiology | Urinary System]]</b></big>
/pre>'''Gives'''{
+
|logo = anat logo.png
{frontpage
+
}}
|p
+
</pre>
agetitle=Wiki Anatomy And Physiology
+
 
 +
'''Gives''
 +
'
 +
{{frontpage
 +
|pagetitle=Wiki Anatomy And Physiology
 
|pagebody=
 
|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.
 
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.
Line 157: Line 144:
 
[[Reproductive System - Anatomy & Physiology|Reproductive System]]  
 
[[Reproductive System - Anatomy & Physiology|Reproductive System]]  
  
[[Urinary System - Anatomy & Physiology | Urinary System]]</b></big>|logo=anat logo.png}}</noinclude>
+
[[Urinary System - Anatomy & Physiology | Urinary System]]</b></big>
 +
|logo=anat logo.png
 +
}}</noinclude>

Revision as of 23:20, 30 July 2010

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 - Anatomy & Physiology|Alimentary System]]

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

[[Developmental Biology - Anatomy & Physiology|Developmental Biology]]

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

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

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

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

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

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

[[Urinary System - 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.