Difference between revisions of "Help:ABC extensions syntax"

From "A B C"
Jump to navigation Jump to search
m
m
Line 7: Line 7:
  
 
__NOTOC__
 
__NOTOC__
 
;Site specific templates
 
  
  
Line 20: Line 18:
 
  <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>.
 +
  
 
;Pubmedparser  
 
;Pubmedparser  
Line 27: Line 26:
 
: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.
  
<!-- {{WWW|WWW_UniProt}} -->
+
 
<!-- <div class="reference-box">[http://www.ncbi.nlm.nih.gov]</div> -->
+
;Inserting a Web-site box
 +
<nowiki>{{WWW|WWW_UniProt}} </nowiki>
 +
 
 +
 
 +
;Inserting a Web-link box
 +
<nowiki><div class="reference-box">[http://www.ncbi.nlm.nih.gov]</div>/nowiki>
  
  

Revision as of 20:29, 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
<nowiki>/nowiki>