Difference between revisions of "Template:Frontpage"
Jump to navigation
Jump to search
(18 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" | |
− | + | |- | |
− | + | |colspan="4" style="background-color:#E0EEEE; padding:4px 4px 4px;"|<big><center>''' | |
− | < | + | }'''</center></big> |
− | < | + | |- |
− | + | |- | |
− | {{{contentbody|contentbody}}} | + | |colspan="4"| |
− | + | {|width="740px" align="center" style="clear:both; background-color:#fcfcfc;" | |
− | + | |<p align="justify"> | |
− | {{#if:{{{ | + | {{{pagebody|pagebody}}}</center></p align> |
− | {{#if:{{{logo|}}}|[[Image:{{{logo|}}}]]|{{{righttext|}}}}} | + | |} |
− | + | |- | |
− | + | |colspan="4" align="center"|<!---------------------------Main content------------------------> | |
− | {{ | + | {|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;" |
− | </includeonly><noinclude> | + | !<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 | ||
+ | |||
+ | " | ||
+ | |||
+ | |{ | ||
+ | {{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;" | ||
+ | {{#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={{Fr | ||
+ | o | ||
+ | |||
+ | ntadditional | ||
+ | |||
+ | |1={{{addit | ||
+ | ionaltitle|}}}|2={{{additionalbody|}}}}} | ||
+ | } | ||
+ | } | ||
+ | |- | ||
+ | | | ||
+ | <sp | ||
+ | an style="line-height:1;"><br></span> | ||
+ | |}</includeonly><noinclude> | ||
===The code=== | ===The code=== | ||
====For logo==== | ====For logo==== | ||
<pre> | <pre> | ||
− | {{ | + | |
+ | {{frontp | ||
+ | age | ||
+ | |||
|pagetitle = | |pagetitle = | ||
|pagebody = | |pagebody = | ||
Line 26: | Line 69: | ||
|contentbody = | |contentbody = | ||
|logo = | |logo = | ||
− | }}</pre> | + | } |
− | + | }</pre> | |
{{frontpage | {{frontpage | ||
|pagetitle = pagetitle | |pagetitle = pagetitle | ||
Line 34: | Line 77: | ||
|contentbody = contentbody | |contentbody = contentbody | ||
|logo = A Logo | |logo = A Logo | ||
− | }} | + | } |
− | ====No logo, more content==== | + | } |
+ | ====No logo,more content==== | ||
<pre> | <pre> | ||
{{frontpage | {{frontpage | ||
Line 44: | Line 88: | ||
|righttitle = | |righttitle = | ||
|righttext = | |righttext = | ||
− | }}</pre> | + | } |
+ | }</pre> | ||
− | {{frontpage | + | { |
+ | {frontpage | ||
|pagetitle = pagetitle | |pagetitle = pagetitle | ||
|pagebody = pagebody | |pagebody = pagebody | ||
Line 52: | Line 98: | ||
|contentbody = contentbody | |contentbody = contentbody | ||
|righttitle = righttitle | |righttitle = righttitle | ||
− | |righttext = righttext | + | |righttext = righttext }}= |
− | }} | + | ==Example=== |
− | + | ||
− | <pre> | + | <pre>{ |
− | + | {frontpage | |
+ | |||
+ | |||
|pagetitle = Wiki Anatomy And Physiology | |pagetitle = Wiki Anatomy And Physiology | ||
|pagebody = | |pagebody = | ||
Line 64: | Line 112: | ||
|contenttitle = Content | |contenttitle = Content | ||
|contentbody = | |contentbody = | ||
− | <big><b>[[Alimentary | + | <big><b>[[Alimentary - Anatomy & Physiology|Alimentary System]] |
− | [[Cardiorespiratory System | + | [[Cardiorespiratory System - Anatomy & Physiology|Cardiorespiratory System]] |
− | [[Developmental Biology | + | [[Developmental Biology - Anatomy & Physiology|Developmental Biology]] |
− | [[Endocrine System | + | [[Endocrine System - Anatomy & Physiology|Endocrine System]] |
− | [[Integumentary | + | [[Integumentary - Anatomy & Physiology|Integumentary System]] |
− | [[Lymphatic System | + | [[Lymphatic System - Anatomy & Physiology|Lymphatic System]] |
[[Musculoskeletal System - Anatomy & Physiology|Musculoskeletal System]] | [[Musculoskeletal System - Anatomy & Physiology|Musculoskeletal System]] | ||
Line 80: | Line 128: | ||
[[Nervous and Special Senses - Anatomy & Physiology|Nervous and Special Senses]] | [[Nervous and Special Senses - Anatomy & Physiology|Nervous and Special Senses]] | ||
− | [[Reproductive System | + | [[Reproductive System - Anatomy & Physiology|Reproductive System]] |
− | [[Urinary System | + | [[Urinary System - Anatomy & Physiology | Urinary System]]</b></big>|logo = anat logo.png}}< |
− | |logo = anat logo.png | + | /pre>'''Gives'''{ |
− | }} | + | {frontpage |
− | + | |p | |
− | '''Gives''' | + | agetitle=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. | ||
|contenttitle=Content | |contenttitle=Content | ||
|contentbody= | |contentbody= | ||
− | <big><b>[[Alimentary | + | <big><b>[[Alimentary - Anatomy & Physiology|Alimentary System]] |
− | [[Cardiorespiratory System | + | [[Cardiorespiratory System - Anatomy & Physiology|Cardiorespiratory System]] |
− | [[Developmental Biology | + | [[Developmental Biology - Anatomy & Physiology|Developmental Biology]] |
− | [[Endocrine System | + | [[Endocrine System - Anatomy & Physiology|Endocrine System]] |
− | [[Integumentary | + | [[Integumentary - Anatomy & Physiology|Integumentary System]] |
− | [[Lymphatic System | + | [[Lymphatic System - Anatomy & Physiology|Lymphatic System]] |
[[Musculoskeletal System - Anatomy & Physiology|Musculoskeletal System]] | [[Musculoskeletal System - Anatomy & Physiology|Musculoskeletal System]] | ||
Line 109: | Line 155: | ||
[[Nervous and Special Senses - Anatomy & Physiology|Nervous and Special Senses]] | [[Nervous and Special Senses - Anatomy & Physiology|Nervous and Special Senses]] | ||
− | [[Reproductive System | + | [[Reproductive System - Anatomy & Physiology|Reproductive System]] |
− | [[Urinary System | + | [[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}}