Help:ABC extensions syntax

From "A B C"
Revision as of 14:27, 10 February 2012 by Boris (talk | contribs)
Jump to navigation Jump to search

Extension Syntax

Several extension use special syntax. This is a synopsis.



LST (Labeling a section for transclusion)
<section begin=exercises />
...
<section end=exercises />


LST (Transcluding a labeled section)
{{#lst:Transcriptome|exercises}}
Common sections are: reading and exercises.


Pubmedparser
{{#pmid:12345678}}
This inserts the article information in a <div>, formatted by Template:Pubmed.
{{#pmid: 15289071 |Steipe2004}}
This formats the output for the Cite extension; A footnote mark will be inserted at the edit location and the actual reference will appear beneath the <references /> section of the page.


Inserting a footnote
<ref>A note in ref tags will insert a footnote mark, linked to the text in the <references /> section of the page.</ref>


Inserting a Web-site box
{{WWW|WWW_UniProt}} 


Inserting a Web-link box
<div class="reference-box">[http://www.ncbi.nlm.nih.gov]</div>