Difference between revisions of "Template:DANFSsection/doc"

From blackwiki
Jump to navigation Jump to search
imported>Eastlaw
m
imported>Revent
(Adapt documentation to use {{tlx}} and actual incovation of the template for example)
Line 8: Line 8:
 
The template includes a reference that will appear in references section of article, if "reflist" or "references" is used in that section.
 
The template includes a reference that will appear in references section of article, if "reflist" or "references" is used in that section.
  
<br/>
+
==== Example ====
Example usage (placed within double squiggly brackets):<br/>  "DANFSsection|Pampanito|http://www.history.navy.mil/danfs/p1/pampanito.htm"
+
* {{tlx|DANFSsection|Pampanito|<nowiki>http://www.history.navy.mil/danfs/p1/pampanito.htm</nowiki>}}
<br/>
+
 
yields:
+
{{Quotebox|{{DANFSsection|Pampanito|http://www.history.navy.mil/danfs/p1/pampanito.htm}}}}
<br/>
+
 
<br/>
 
<small>''This section is adapted from the [[public domain]] '''[[Dictionary of American Naval Fighting Ships]]''' article "Pampanito", available [http://www.history.navy.mil/danfs/p1/pampanito.htm '''here''']
 
</small>
 
<br/>
 
 
Not shown is the appearance of the footnote added to the references list of the article.
 
Not shown is the appearance of the footnote added to the references list of the article.
  

Revision as of 00:38, 19 July 2013

Usage

This template is to lead off an article section which contains all DANFS material used in an article. Intended placement is just following the section title. Two arguments are required:

  • DANFS article name
  • DANFS article URL

The template includes a reference that will appear in references section of article, if "reflist" or "references" is used in that section.

Example

  • {{DANFSsection|Pampanito|http://www.history.navy.mil/danfs/p1/pampanito.htm}}

Template:Quotebox

Not shown is the appearance of the footnote added to the references list of the article.

See also