Difference between revisions of "Help:ABC extensions syntax"
Jump to navigation
Jump to search
(Created page with "<div id="BIO"> <div class="b1"> Extension Syntax </div> Several extension use special syntax. This is a synopsis. __NOTOC__ ;Site specific templates ;LST (Labelled sectio...") |
m |
||
Line 11: | Line 11: | ||
− | ;LST ( | + | ;LST (Labeling a section for transclusion) |
+ | <nowiki><section begin=exercises /></nowiki> | ||
+ | ... | ||
+ | <nowiki><section end=exercises /></nowiki> | ||
+ | |||
+ | |||
+ | ;LST (Transcluding a labeled section) | ||
<nowiki>{{#lst:Transcriptome|exercises}}</nowiki> | <nowiki>{{#lst:Transcriptome|exercises}}</nowiki> | ||
:Common sections are: <code>reading</code> and <code>exercises</code>. | :Common sections are: <code>reading</code> and <code>exercises</code>. | ||
Line 21: | Line 27: | ||
: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 <code><references /></code> section of the page. | :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 <code><references /></code> section of the page. | ||
+ | <!-- {{WWW|WWW_UniProt}} --> | ||
+ | <!-- <div class="reference-box">[http://www.ncbi.nlm.nih.gov]</div> --> | ||
Revision as of 20:27, 7 February 2012
Extension Syntax
Several extension use special syntax. This is a synopsis.
- Site specific templates
- LST (Labeling a section for transclusion)
<section begin=exercises /> ... <section end=exercises />
- LST (Transcluding a labeled section)
{{#lst:Transcriptome|exercises}}
- Common sections are:
reading
andexercises
.
- 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.