Difference between revisions of "Help:ABC extensions syntax"

From "A B C"
Jump to navigation Jump to search
m
m
Line 32: Line 32:
  
 
;Inserting a Web-link box
 
;Inserting a Web-link box
  <nowiki><div class="reference-box">[http://www.ncbi.nlm.nih.gov]</div>/nowiki>
+
  <nowiki><div class="reference-box">[http://www.ncbi.nlm.nih.gov]</div></nowiki>
  
  

Revision as of 20:32, 7 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 Web-site box
{{WWW|WWW_UniProt}} 


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