Difference between revisions of "Template:Frontpage-RVC"

From WikiVet English
Jump to navigation Jump to search
(Undo revision 129529 by Aspark (talk))
(Created page with "<includeonly>__NOTOC__ __NOEDITSECTION__ {|cellspacing="0" cellpadding="0" width="800px" style="clear:both; background-color:#fcfcfc; border:3px solid #50A6C2;" align="center" |-...")
(36 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 #9400d3;" align="center"
+
{|cellspacing="0" cellpadding="0" width="800px" style="clear:both; background-color:#fcfcfc; border:3px solid #50A6C2;" align="center"
 
|-
 
|-
|colspan="4" style="background-color:#ffffff; padding:4px 4px 4px;"|
+
|colspan="4" style="background-color:#E0EEEE; padding:4px 4px 4px;"|<big><center>'''{{{pagetitle|pagetitle}}}'''</center></big>  
{| style="color:black; background-color:#ffffff;" width="100%" cellpadding="10%" cellpadding="15%" cellspacing="0" border="0"
 
| style="width: 25%;background-color:none;" |
 
; [[File:RVC.jpg|70px|left|link=UK - Royal Veterinary College, London]]
 
| style="width: 50%;background-color:none;" |
 
; <big><big><center>'''{{{pagetitle|pagetitle}}}'''</center></big></big>
 
|style="width: 33%;background-color:none;" |
 
; {{#if:{{{year|}}}|}} {{#if:{{{year|}}}|[[{{{year|}}}]]}}
 
|}
 
 
 
 
|-
 
|-
 
|-
 
|-
Line 21: Line 12:
 
|colspan="4" align="center"|<!---------------------------Main content------------------------>
 
|colspan="4" align="center"|<!---------------------------Main content------------------------>
 
{|style="margin:0px 0px 0px 0px; background:none;" align="center" width="740px"
 
{|style="margin:0px 0px 0px 0px; background:none;" align="center" width="740px"
|class="MainPageBG" style="width:50%; border:1px solid #9400d3; background:#fcfcfc; vertical-align:top; color:#000;"|
+
|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:#fcfcfc;"
+
{|width="100%" cellpadding="2" cellspacing="0" style="vertical-align:top; background:#f5faff;"
!colspan="2"|<h2 style="margin:0; background:#ccf; font-size:120%; font-weight:bold; border:1px solid #a3bfb1; text-align:left; color:#000; padding:0.2em 0.4em;">Articles</h2>
+
!colspan="2"|<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|contenttitle}}}</h2>
 
|-
 
|-
 
|style="color:#000;" align="left"|
 
|style="color:#000;" align="left"|
<b>{{{contentbody|contentbody}}}</b>
+
{{{contentbody|contentbody}}}
 
|}
 
|}
|class="MainPageBG" style="width:45%; border:1px solid #9400d3; vertical-align:{{#if:{{{logo|}}}|middle|top}};background:#fcfcfc;"|
+
|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:#fcfcfc;"
+
{|width="100%" cellpadding="2" cellspacing="0" style="vertical-align:top; background:#f5faff;"
{{#if:{{{logo|}}}|!<br>|!<h2 style="margin:0; background:#ccf; font-size:120%; font-weight:bold; border:1px solid #a3bfb1; text-align:left; color:#000; padding:0.2em 0.4em;">Learning Resources</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>}}
 
|-
 
|-
|align="{{#if:{{{logo|}}}|center|left}}"|{{#if:{{{logo|}}}|[[Image:{{{logo|}}}]]|<b>{{{righttext|}}}}}</b>
+
|align="{{#if:{{{logo|}}}|center|left}}"|{{#if:{{{logo|}}}|[[Image:{{{logo|}}}]]|{{{righttext|}}}}}
 
|}
 
|}
 
|}
 
|}
Line 42: Line 33:
 
|-
 
|-
 
|<span style="line-height:1;"><br></span>
 
|<span style="line-height:1;"><br></span>
|}</includeonly>
+
|}</includeonly><noinclude>
 +
===The code===
 +
====For logo====
 +
<pre>
 +
{{frontpage
 +
|pagetitle =
 +
|pagebody =
 +
|contenttitle =
 +
|contentbody =
 +
|logo =
 +
}}</pre>
 +
 
 +
{{frontpage
 +
|pagetitle = pagetitle
 +
|pagebody = pagebody
 +
|contenttitle = contenttitle
 +
|contentbody = contentbody
 +
|logo = A Logo
 +
}}
 +
====No logo, more content====
 +
<pre>
 +
{{frontpage
 +
|pagetitle =
 +
|pagebody =
 +
|contenttitle =
 +
|contentbody =
 +
|righttitle =
 +
|righttext =
 +
}}</pre>
 +
 
 +
{{frontpage
 +
|pagetitle = pagetitle
 +
|pagebody = pagebody
 +
|contenttitle = contenttitle
 +
|contentbody = contentbody
 +
|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]]
 +
 
 +
[[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
 +
}}
 +
</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]]
 +
 
 +
[[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
 +
}}</noinclude>

Revision as of 15:51, 20 September 2011

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.