Difference between revisions of "Template:Frontpage"
Jump to navigation
Jump to search
Line 23: | Line 23: | ||
{{#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>}} | ||
|- | |- | ||
− | |align="{{#if:{{{logo|}}}|center|left | + | |align="{{#if:{{{logo|}}}|center|left}}"|{{#if:{{{logo|}}}|[[Image:{{{logo|}}}]]|{{{righttext|}}}}} |
|} | |} | ||
|} | |} |
Revision as of 18:12, 7 April 2011
The code
For logo
{{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.