Difference between revisions of "Template:Frontpage"
Jump to navigation
Jump to search
(23 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>__NOTOC__ __NOEDITSECTION__ | <includeonly>__NOTOC__ __NOEDITSECTION__ | ||
− | + | <div class="frontpage-tpl"> | |
− | + | <div class="tpl-title"><big>{{{pagetitle|pagetitle}}}</big></div> | |
− | + | <div class="tpl-body"><p>{{{pagebody|pagebody}}}</p> | |
− | + | <div class="tpl-content"> | |
− | + | <div class="tpl-content-1 tpl-col"> | |
− | + | <h2>{{{contenttitle|contenttitle}}}</h2> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
{{{contentbody|contentbody}}} | {{{contentbody|contentbody}}} | ||
− | + | </div> | |
− | + | <div class="tpl-content-2 tpl-col {{#if:{{{logo|}}}|tpl-col-logo}}"> | |
− | + | {{#if:{{{righttitle|}}}|<h2>{{{righttitle|righttitle}}}</h2>}} | |
− | {{#if:{{{logo|}}}| | + | {{#if:{{{logo|}}}|[[Image:{{{logo|}}}]]|{{{righttext|}}}}} |
− | + | </div> | |
− | + | </div> | |
− | + | {{#if:{{{additionaltitle|}}}|<div class="tpl-content-additional"><div class="tpl-content-3 tpl-col"><h2>{{{additionaltitle|additionaltitle}}}</h2>{{{additionalbody|additionalbody}}}</div></div>}} | |
− | + | </div> | |
− | {{if | + | </div> |
− | + | </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> | <pre> | ||
{{frontpage | {{frontpage | ||
Line 41: | Line 42: | ||
|contenttitle = | |contenttitle = | ||
|contentbody = | |contentbody = | ||
− | | | + | |righttitle = |
+ | |righttext = | ||
}}</pre> | }}</pre> | ||
Line 49: | Line 51: | ||
|contenttitle = contenttitle | |contenttitle = contenttitle | ||
|contentbody = contentbody | |contentbody = contentbody | ||
− | | | + | |righttitle = righttitle |
+ | |righttext = righttext | ||
}} | }} | ||
===Example=== | ===Example=== | ||
Line 61: | Line 64: | ||
|contenttitle = Content | |contenttitle = Content | ||
|contentbody = | |contentbody = | ||
− | <big><b>[[Alimentary - Anatomy & Physiology|Alimentary System]] | + | <big><b>[[Alimentary System Overview - Anatomy & Physiology|Alimentary System]] |
− | [[Cardiorespiratory System - Anatomy & Physiology|Cardiorespiratory System]] | + | [[Cardiorespiratory System Overview - Anatomy & Physiology|Cardiorespiratory System]] |
− | [[Developmental Biology - Anatomy & Physiology|Developmental Biology]] | + | [[Developmental Biology Overview - Anatomy & Physiology|Developmental Biology]] |
− | [[Endocrine System - Anatomy & Physiology|Endocrine System]] | + | [[Endocrine System Overview - Anatomy & Physiology|Endocrine System]] |
− | [[Integumentary - Anatomy & Physiology|Integumentary System]] | + | [[Integumentary System Overview - Anatomy & Physiology|Integumentary System]] |
− | [[Lymphatic System - Anatomy & Physiology|Lymphatic System]] | + | [[Lymphatic System Overview - Anatomy & Physiology|Lymphatic System]] |
[[Musculoskeletal System - Anatomy & Physiology|Musculoskeletal System]] | [[Musculoskeletal System - Anatomy & Physiology|Musculoskeletal System]] | ||
Line 77: | Line 80: | ||
[[Nervous and Special Senses - Anatomy & Physiology|Nervous and Special Senses]] | [[Nervous and Special Senses - Anatomy & Physiology|Nervous and Special Senses]] | ||
− | [[Reproductive System - Anatomy & Physiology|Reproductive System]] | + | [[Reproductive System Overview - Anatomy & Physiology|Reproductive System]] |
− | [[Urinary System - Anatomy & Physiology | Urinary System]]</b></big> | + | [[Urinary System Overview - Anatomy & Physiology | Urinary System]]</b></big> |
|logo = anat logo.png | |logo = anat logo.png | ||
}} | }} | ||
Line 90: | Line 93: | ||
|contenttitle=Content | |contenttitle=Content | ||
|contentbody= | |contentbody= | ||
− | <big><b>[[Alimentary - Anatomy & Physiology|Alimentary System]] | + | <big><b>[[Alimentary System Overview - Anatomy & Physiology|Alimentary System]] |
− | [[Cardiorespiratory System - Anatomy & Physiology|Cardiorespiratory System]] | + | [[Cardiorespiratory System Overview - Anatomy & Physiology|Cardiorespiratory System]] |
− | [[Developmental Biology - Anatomy & Physiology|Developmental Biology]] | + | [[Developmental Biology Overview - Anatomy & Physiology|Developmental Biology]] |
− | [[Endocrine System - Anatomy & Physiology|Endocrine System]] | + | [[Endocrine System Overview - Anatomy & Physiology|Endocrine System]] |
− | [[Integumentary - Anatomy & Physiology|Integumentary System]] | + | [[Integumentary System Overview - Anatomy & Physiology|Integumentary System]] |
− | [[Lymphatic System - Anatomy & Physiology|Lymphatic System]] | + | [[Lymphatic System Overview - Anatomy & Physiology|Lymphatic System]] |
[[Musculoskeletal System - Anatomy & Physiology|Musculoskeletal System]] | [[Musculoskeletal System - Anatomy & Physiology|Musculoskeletal System]] | ||
Line 106: | Line 109: | ||
[[Nervous and Special Senses - Anatomy & Physiology|Nervous and Special Senses]] | [[Nervous and Special Senses - Anatomy & Physiology|Nervous and Special Senses]] | ||
− | [[Reproductive System - Anatomy & Physiology|Reproductive System]] | + | [[Reproductive System Overview - Anatomy & Physiology|Reproductive System]] |
− | [[Urinary System - Anatomy & Physiology | Urinary System]]</b></big> | + | [[Urinary System Overview - Anatomy & Physiology | Urinary System]]</b></big> |
|logo=anat logo.png | |logo=anat logo.png | ||
}}</noinclude> | }}</noinclude> |
Latest revision as of 13:37, 8 December 2020
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.