Difference between revisions of "Template:ATOCConnectingCommunitiesReportS10"

From blackwiki
Jump to navigation Jump to search
blackwiki>Redrose64
(allow suppression of <ref></ref>; add doc)
blackwiki>Redrose64
(repurposing |ref= was bad idea)
Line 1: Line 1:
{{#tag:{{#ifeq:{{{ref|}}}|no|span|ref}}|{{cite web
+
{{#tag:{{#ifeq:{{{reftags|}}}|no|span|ref}}|{{cite web
 
|title=Connecting Communities - expanding access to the rail network
 
|title=Connecting Communities - expanding access to the rail network
 
|url=http://www.atoc.org/clientfiles/files/publicationsdocuments/ConnectingCommunitiesReport_S10.pdf
 
|url=http://www.atoc.org/clientfiles/files/publicationsdocuments/ConnectingCommunitiesReport_S10.pdf
 
|publisher=[[Association of Train Operating Companies]]
 
|publisher=[[Association of Train Operating Companies]]
 
|accessdate=20 February 2015
 
|accessdate=20 February 2015
|archiveurl=https://web.archive.org/web/20130729060013/http://www.atoc.org/clientfiles/files/publicationsdocuments/ConnectingCommunitiesReport_S10.pdf
+
|archiveurl=//web.archive.org/web/20130729060013/http://www.atoc.org/clientfiles/files/publicationsdocuments/ConnectingCommunitiesReport_S10.pdf
 
|archivedate=29 July 2013
 
|archivedate=29 July 2013
 
|format=pdf
 
|format=pdf
Line 10: Line 10:
 
|page={{{page|}}}
 
|page={{{page|}}}
 
|pages={{{pages|}}}
 
|pages={{{pages|}}}
|date=June 2009}}|name="ATOCConnectingCommunitiesReportS10{{{page|}}}{{{pages|}}}"}}<noinclude>
+
|date=June 2009 |ref={{sfnref|ATOC|2009}} }}|name="ATOCConnectingCommunitiesReportS10{{{page|}}}{{{pages|}}}"}}<noinclude>
 
[[Category:Templates for references]]
 
[[Category:Templates for references]]
 
{{reflist}}
 
{{reflist}}
 
{{documentation |content=
 
{{documentation |content=
 
* {{para|page}} {{para|pages}} – exactly as for {{tlx|cite web}}
 
* {{para|page}} {{para|pages}} – exactly as for {{tlx|cite web}}
* {{para|ref}} – by default, the full citation is wrapped in {{tag|ref|params=name="ATOCConnectingCommunitiesReportS10"}}; if {{para|page}} or {{para|pages}} is specified, the passed value is appended to the <code>name=</code> attribute, e.g. {{para|pages|123–4}} gives <code>name="ATOCConnectingCommunitiesReportS10123–4"</code>. To suppress both the {{tag|ref}} tags and the <code>name=</code> attribute, add the parameter {{para|ref|no}}
+
* {{para|reftags}} – by default, the full citation is wrapped in {{tag|ref|params=name="ATOCConnectingCommunitiesReportS10"}}; if {{para|page}} or {{para|pages}} is specified, the passed value is appended to the <code>name=</code> attribute, e.g. {{para|pages|123–4}} gives <code>name="ATOCConnectingCommunitiesReportS10123–4"</code>. To suppress both the {{tag|ref}} tags and the <code>name=</code> attribute, add the parameter {{para|reftags|no}}
 +
For Harvard-style referencing, use this in conjunction with {{tlx|harv|ATOC|2009|4=p=9}} {{tlx|sfn|ATOC|2009|4=p=16}} or similar.
 
}}</noinclude>
 
}}</noinclude>

Revision as of 17:31, 24 February 2015

[1]

  1. "Connecting Communities - expanding access to the rail network" (PDF). London: Association of Train Operating Companies. June 2009. Archived from the original (pdf) on 29 July 2013. Retrieved 20 February 2015.
Template documentation
  • |page= |pages= – exactly as for {{cite web}}
  • |reftags= – by default, the full citation is wrapped in <ref name="ATOCConnectingCommunitiesReportS10">...</ref>; if |page= or |pages= is specified, the passed value is appended to the name= attribute, e.g. |pages=123–4 gives name="ATOCConnectingCommunitiesReportS10123–4". To suppress both the <ref>...</ref> tags and the name= attribute, add the parameter |reftags=no

For Harvard-style referencing, use this in conjunction with {{harv|ATOC|2009|p=9}} {{sfn|ATOC|2009|p=16}} or similar.