FANDOM


This Wiki has several different templates, each with their own purpose and functions. They can be incorporated into Wiki pages via: {{TEMPLATETITLE}} where TEMPLATETITLE refers to the title of the template. Before the close braces }} is where parameters are placed. For example, for the Infobox template the following is the full format showing all the parameters:

Infobox
{{Infobox
|Box title    = 
|image        = 
|imagewidth   = 
|caption      =
|titlew       = 
|Row 1 title  = 
|Row 1 info   = 
|Row 2 title  =
|Row 2 info   =
|Row 3 title  =
|Row 3 info   =
|Row 4 title  = 
|Row 4 info   =
|Row 5 title  =
|Row 5 info   =
..   . .      .
..   . .      .
..   . .      .
|Row 20 title =
|Row 20 info  =
}}


DocumentationEdit

Templates should be ended with <noinclude>{{documentation}}</noinclude> to include documentation from the page within the template's namespace (namely at Pagename/doc where Pagename is the template's name)

SyntaxEdit

The syntax of templates is the same as general MediaWiki syntax but some parts are almost exclusively used in Templates such as:

  • Parser functions such as {{#if:}}
  • Parameters which can be numbered (in order of their appearance in the template, e.g., {{{1|}}} for parameter #1) or assigned a title (e.g., |author = for a parameter called author). 

Categories of templates that appear on this WikiEdit

There are seven major types of template on this Wiki:


Category templatesEdit

These templates are meant to display the organizational structure of different articles on this Wiki that are within a certain category (although these categories need not represent actual categories on this Wiki, they could be categories set out by the World Health Organization, for example). They are created as tables, with at least 4 columns, a major title for the entire template on the ! line. It only has one input ({{{1|}}}), that is untitled and has only one acceptable format, "collapsed". 


Citation templatesEdit

These templates appear between <ref> and </ref> tags and are used to cite sources. They are pretty self-explanatory in as far as the use of each template (based on its title), for example, cite book is used to cite books, whereas cite journal is used to cite journals and cite web. Several subtemplates exist in the namespaces of these templates and they usually refer to specific examples of these references filled out for specific sources. For example cite book/Marieb is a template specifically designed to cite the book Human Anatomy & Physiology by Marieb, EN and Hoehn, K where the only remaining parameters to be specified when calling this template are the chapter (or the chapter_no) and pages.


Formatting templatesEdit

These templates are used to format text or other parts of an article. For example for lists {{colbegin|#}} and its closing template {{colend}}, where # is an integer either 2 or 3, may be used to columnize the list into 2 or 3 columns, respectively.


Infobox-type templatesEdit

These templates are similar in their structure and function to the generalized Infobox template. They are usually customized for specific purposes, e.g., Drugbox is specifically designed to be used for drug articles.


Licensing templatesEdit

These templates are for use in {{Information}} on file description pages and provide links to legal licensing information online.


Linking templatesEdit

These templates link to external sites or Wikimedia projects.


Secondary sources templatesEdit

These templates link to searches on the page's name or other parameters in free medically-oriented bibliographic databases like PubMed or TRIP for secondary sources.


Interwiki linksEdit

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.