Difference between revisions of "Help:ABC extensions syntax"

From "A B C"
Jump to navigation Jump to search
m
m
Line 25: Line 25:
 
  <nowiki>{{#pmid: 15289071 |Steipe2004}}</nowiki>
 
  <nowiki>{{#pmid: 15289071 |Steipe2004}}</nowiki>
 
: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>&lt;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>&lt;references /></code> section of the page.
 +
 +
 +
;Inserting a footnote
 +
<nowiki>&lt;ref>A note in ref tags will appear in the &lt;references /> section of the page.&lt;/ref></nowiki>
  
  

Revision as of 14:25, 10 February 2012

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 appear 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>