Jump to content

Template:Ref supports2/sandbox: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Account for inability to either have multiple refs with name="" or multiple unnamed parameters in {{#tag:ref
Forgot to have the replaces for any double quotes in the text strings. Move pages= from cite template to rs2 template
Line 1: Line 1:
{{abbr|{{#if:{{{name|}}}{{{refname|}}}|{{#tag:ref |{{#if:{{{ref|}}}|{{{ref}}}}}|name={{#if:{{{name|}}}|{{{name}}}}}{{#if:{{{refname|}}}|{{{refname}}}}}}}|{{#tag:ref |{{#if:{{{ref|}}}|{{{ref}}}}}}}}}{{#if:{{{pages|}}}|{{sup|:{{{pages}}}}}}}{{#if:{{{page|}}}|{{sup|:{{{page}}}}}}}|Supports: {{#if:{{{text|}}}|&quot;{{{text}}}&quot;}}{{#if:{{{text1|}}}|&quot;{{{text1}}}&quot;}}{{#if:{{{text2|}}}|, &quot;{{{text2}}}&quot;}}{{#if:{{{text3|}}}|, &quot;{{{text3}}}&quot;}}{{#if:{{{text4|}}}|, &quot;{{{text4}}}&quot;}}{{#if:{{{text5|}}}|, &quot;{{{text5}}}&quot;}}{{#if:{{{text6|}}}|, &quot;{{{text6}}}&quot;}}{{#if:{{{text7|}}}|, &quot;{{{text7}}}&quot;}}{{#if:{{{text8|}}}|, &quot;{{{text8}}}&quot;}}{{#if:{{{text9|}}}|, &quot;{{{text9}}}&quot;}}}}&thinsp;<noinclude>
{{abbr|{{#if:{{{name|}}}{{{refname|}}}|{{#tag:ref |{{#if:{{{ref|}}}|{{{ref}}}}}|name={{#if:{{{name|}}}|{{{name}}}}}{{#if:{{{refname|}}}|{{{refname}}}}}}}|{{#tag:ref |{{#if:{{{ref|}}}|{{{ref}}}}}}}}}{{#if:{{{pages|}}}|{{sup|:{{{pages}}}}}}}{{#if:{{{page|}}}|{{sup|:{{{page}}}}}}}|Supports: {{#if:{{{text|}}}|&quot;{{replace|{{{text}}}|"|&quot;}}&quot;}}{{#if:{{{text1|}}}|&quot;{{replace|{{{text1}}}|"|&quot;}}&quot;}}{{#if:{{{text2|}}}|, &quot;{{replace|{{{text2}}}|"|&quot;}}&quot;}}{{#if:{{{text3|}}}|, &quot;{{replace|{{{text3}}}|"|&quot;}}&quot;}}{{#if:{{{text4|}}}|, &quot;{{replace|{{{text4}}}|"|&quot;}}&quot;}}{{#if:{{{text5|}}}|, &quot;{{replace|{{{text5}}}|"|&quot;}}&quot;}}{{#if:{{{text6|}}}|, &quot;{{replace|{{{text6}}}|"|&quot;}}&quot;}}{{#if:{{{text7|}}}|, &quot;{{replace|{{{text7}}}|"|&quot;}}&quot;}}{{#if:{{{text8|}}}|, &quot;{{replace|{{{text8}}}|"|&quot;}}&quot;}}{{#if:{{{text9|}}}|, &quot;{{replace|{{{text9}}}|"|&quot;}}&quot;}}}}&thinsp;<noinclude>


The Cite error above is normal for this page.
The Cite error above is normal for this page.
Line 8: Line 8:


<nowiki>
<nowiki>
{{Ref supports2/sandbox |name=French |ref={{cite journal | last1 = French | first1 = P | last2 = James | first2 = E | last3 = Walsh | first3 = N | year = 2012 | title = Analysis of genetic variation in a disjunct, narcotic producing, population of Duboisia hopwoodii (F. Muell.) F. Muell | url = http://www.rbg.vic.gov.au/documents/Muelleria_30-1_6_French_James_Walsh.pdf | format = PDF | journal = Muelleria | volume = 30 | issue = 1| pages = 65–71 }} |text=The population of Duboisia hopwoodii around the Mulligan River used in the production of a much sought after version of pituri is high in nicotine and low in nornicotine.}}
{{Ref supports2/sandbox |name=French |ref={{cite journal | last1 = French | first1 = P | last2 = James | first2 = E | last3 = Walsh | first3 = N | year = 2012 | title = Analysis of genetic variation in a disjunct, narcotic producing, population of Duboisia hopwoodii (F. Muell.) F. Muell | url = http://www.rbg.vic.gov.au/documents/Muelleria_30-1_6_French_James_Walsh.pdf | format = PDF | journal = Muelleria | volume = 30 | issue = 1}} |text=The population of Duboisia hopwoodii around the Mulligan River used in the production of a much sought after version of pituri is high in nicotine and low in nornicotine.| pages = 65–71 }}
</nowiki><br/>
</nowiki><br/>


Then subsequent uses of the source could just be:
Then subsequent uses of the source could just be:
<nowiki>
<nowiki>
{{Ref supports2/sandbox |name=French | pages = 70 |text=Aboriginal people frequently burnt pituri to promote new growth. }}
{{Ref supports2/sandbox |name=French | page = 70 |text=Aboriginal people frequently burnt pituri to promote new growth. }}
</nowiki>
</nowiki>


Page number presentation could resemble that done using {{tl|rp}}.
Page number presentation could resemble that done using {{tl|rp}}.
This would then render as:<br/>
This would then render as:<br/>
The population of ''Duboisia hopwoodii'' around the Mulligan River used in the production of a much sought after version of pituri is high in nicotine and low in nornicotine.{{Ref supports2/sandbox |name=French |ref={{cite journal | last1 = French | first1 = P | last2 = James | first2 = E | last3 = Walsh | first3 = N | year = 2012 | title = Analysis of genetic variation in a disjunct, narcotic producing, population of Duboisia hopwoodii (F. Muell.) F. Muell | url = http://www.rbg.vic.gov.au/documents/Muelleria_30-1_6_French_James_Walsh.pdf | format = PDF | journal = Muelleria | volume = 30 | issue = 1| pages = 65–71 }} |text=The population of Duboisia hopwoodii around the Mulligan River used in the production of a much sought after version of pituri is high in nicotine and low in nornicotine.}} Aboriginal people frequently burnt pituri to promote new growth.{{Ref supports2/sandbox |name=French | pages = 70 |text=Aboriginal people frequently burnt pituri to promote new growth. }}
The population of ''Duboisia hopwoodii'' around the Mulligan River used in the production of a much sought after version of pituri is high in nicotine and low in nornicotine.{{Ref supports2/sandbox |name=French |ref={{cite journal | last1 = French | first1 = P | last2 = James | first2 = E | last3 = Walsh | first3 = N | year = 2012 | title = Analysis of genetic variation in a disjunct, narcotic producing, population of Duboisia hopwoodii (F. Muell.) F. Muell | url = http://www.rbg.vic.gov.au/documents/Muelleria_30-1_6_French_James_Walsh.pdf | format = PDF | journal = Muelleria | volume = 30 | issue = 1}} |text=The population of Duboisia hopwoodii around the Mulligan River used in the production of a much sought after version of pituri is high in nicotine and low in nornicotine.| pages = 65–71 }} Aboriginal people frequently burnt pituri to promote new growth.{{Ref supports2/sandbox |name=French | page = 70 |text=Aboriginal people frequently burnt pituri to promote new growth. }}


Just some text with a simple ref supports without a name.{{Ref supports2/sandbox |ref=This is a reference for a simple ref supports without a name. |text=Just some text with a simple ref supports without a name.}}
Just some text with a simple ref supports without a name.{{Ref supports2/sandbox |ref=This is a reference for a simple ref supports without a name. |text=Just some text with a simple ref supports without a name.}}

Revision as of 10:23, 18 March 2016

Cite error: There are <ref> tags on this page without content in them (see the help page).

The Cite error above is normal for this page.


Sandbox test documentation:

{{Ref supports2/sandbox |name=French |ref={{cite journal | last1 = French | first1 = P | last2 = James | first2 = E | last3 = Walsh | first3 = N | year = 2012 | title = Analysis of genetic variation in a disjunct, narcotic producing, population of Duboisia hopwoodii (F. Muell.) F. Muell | url = http://www.rbg.vic.gov.au/documents/Muelleria_30-1_6_French_James_Walsh.pdf | format = PDF | journal = Muelleria | volume = 30 | issue = 1}} |text=The population of Duboisia hopwoodii around the Mulligan River used in the production of a much sought after version of pituri is high in nicotine and low in nornicotine.| pages = 65–71 }}

Then subsequent uses of the source could just be: {{Ref supports2/sandbox |name=French | page = 70 |text=Aboriginal people frequently burnt pituri to promote new growth. }}

Page number presentation could resemble that done using {{rp}}. This would then render as:
The population of Duboisia hopwoodii around the Mulligan River used in the production of a much sought after version of pituri is high in nicotine and low in nornicotine.[1]:65–71  Aboriginal people frequently burnt pituri to promote new growth.[1]:70

Just some text with a simple ref supports without a name.[2]

Some text with ref supports with two text segments.[3]


  1. ^ a b French, P; James, E; Walsh, N (2012). "Analysis of genetic variation in a disjunct, narcotic producing, population of Duboisia hopwoodii (F. Muell.) F. Muell" (PDF). Muelleria. 30 (1).
  2. ^ This is a reference for a simple ref supports without a name.
  3. ^ This is a reference for Some text with ref supports with two text segments.