Difference between revisions of "Template:Frontpage"
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> | |
− | }' | ||
− | ''</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"> | ||
− | {{{pagebody|pagebody}}} | + | {{{pagebody|pagebody}}}</center></p align> |
− | < | ||
− | /center></p align> | ||
|} | |} | ||
|- | |- | ||
Line 23: | Line 18: | ||
!<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|contenttitle} | + | |
− | }}</ | + | { |
+ | {{contenttitle|contenttitle}}}</ | ||
h2> | h2> | ||
|- | |- | ||
Line 31: | Line 27: | ||
" | " | ||
− | |{{{contentbody|contentbody} | + | |
+ | |{ | ||
+ | {{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 44: | Line 41: | ||
− | {{if|1={{{additionaltitle|}}}|2={ | + | |
− | + | { | |
+ | {if|1={{{additionaltitle|}}}|2={{Fr | ||
+ | o | ||
+ | |||
ntadditional | ntadditional | ||
− | |1={{{ | + | |
− | |2={{{additionalbody|}}}}}} | + | |1={{{addit |
+ | ionaltitle|}}}|2={{{additionalbody|}}}}} | ||
+ | } | ||
} | } | ||
|- | |- | ||
Line 58: | Line 60: | ||
====For logo==== | ====For logo==== | ||
<pre> | <pre> | ||
− | {{ | + | |
+ | {{frontp | ||
+ | age | ||
+ | |||
|pagetitle = | |pagetitle = | ||
|pagebody = | |pagebody = | ||
Line 85: | Line 90: | ||
} | } | ||
}</pre> | }</pre> | ||
− | {{frontpage | + | |
+ | { | ||
+ | {frontpage | ||
|pagetitle = pagetitle | |pagetitle = pagetitle | ||
|pagebody = pagebody | |pagebody = pagebody | ||
Line 91: | Line 98: | ||
|contentbody = contentbody | |contentbody = contentbody | ||
|righttitle = righttitle | |righttitle = righttitle | ||
− | |righttext = righttext | + | |righttext = righttext }}= |
− | }}===Example=== | + | ==Example=== |
− | <pre>{{frontpage | + | |
+ | <pre>{ | ||
+ | {frontpage | ||
Line 121: | Line 130: | ||
[[Reproductive System - Anatomy & Physiology|Reproductive System]] | [[Reproductive System - Anatomy & Physiology|Reproductive System]] | ||
− | [[Urinary System - Anatomy & Physiology | Urinary System]]</b></big> | + | [[Urinary System - Anatomy & Physiology | Urinary System]]</b></big>|logo = anat logo.png}}< |
− | |logo = anat logo.png}}</pre>'''Gives'''{{frontpage | + | /pre>'''Gives'''{ |
+ | {frontpage | ||
|p | |p | ||
agetitle=Wiki Anatomy And Physiology | agetitle=Wiki Anatomy And Physiology | ||
Line 147: | Line 157: | ||
[[Reproductive System - Anatomy & Physiology|Reproductive System]] | [[Reproductive System - Anatomy & Physiology|Reproductive System]] | ||
− | [[Urinary System - Anatomy & Physiology | Urinary System]]</b></big> | + | [[Urinary System - Anatomy & Physiology | Urinary System]]</b></big>|logo=anat logo.png}}</noinclude> |
− | |logo=anat logo.png}}</noinclude> |
Revision as of 23:19, 30 July 2010
The code
For logo
{{frontp age |pagetitle = |pagebody = |contenttitle = |contentbody = |logo = } }
pagetitle
pagebody
contenttitle
contentbody
righttitle
[[Image:A Logo } }
No logo,more content
{{frontpage |pagetitle = |pagebody = |contenttitle = |contentbody = |righttitle = |righttext = } }
{ {frontpage]]
=
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 = Alimentary System Cardiorespiratory System Developmental Biology Endocrine System Integumentary System Lymphatic System Musculoskeletal System Nervous and Special Senses Reproductive System Urinary System|logo = anat logo.png}}< /pre>Gives{ {frontpage |p agetitle=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= Alimentary System Cardiorespiratory System Developmental Biology Endocrine System Integumentary System Lymphatic System Musculoskeletal System Nervous and Special Senses Reproductive System Urinary System|logo=anat logo.png}}