Jump to content

Template:Ref: Difference between revisions

From Worm Wiki
Puxlit (talk | contribs)
Add documentation for cases per discussion with Damage3245
 
Puxlit (talk | contribs)
Implement wrapper
Line 1: Line 1:
<includeonly>TODO</includeonly><noinclude>==Examples==
<includeonly><!--
-->{{#if:{{{name}}}<!--
    -->|{{#tag:ref<!-- The `name` template parameter is either undefined or defined to a non-empty value; this means we're either using an auto-generated name or an override.
        -->|{{Ref/Content<!--
            -->|excerpt={{{1|}}}<!--
            -->|chapter={{#if:{{{3|}}}||{{{2|}}}}}<!--
            -->|link={{#if:{{{3|}}}|{{{2|}}}}}<!--
            -->|label={{{3|}}}<!--
        -->}}<!--
        -->|name={{{name|{{Ref/Name<!--
            -->|excerpt={{{1|}}}<!--
            -->|chapter={{#if:{{{3|}}}||{{{2|}}}}}<!--
            -->|link={{#if:{{{3|}}}|{{{2|}}}}}<!--
            -->|label={{{3|}}}<!--
        -->}}}}}<!--
    -->}}<!--
    -->|{{#tag:ref<!-- The `name` template parameter is defined to an empty value; this means we're suppressing the auto-generated name.
        -->|{{Ref/Content<!--
            -->|excerpt={{{1|}}}<!--
            -->|chapter={{#if:{{{3|}}}||{{{2|}}}}}<!--
            -->|link={{#if:{{{3|}}}|{{{2|}}}}}<!--
            -->|label={{{3|}}}<!--
        -->}}<!--
    -->}}<!--
-->}}<!--
--></includeonly><noinclude>==Examples==
For a chapter with an excerpt, <code><nowiki>{{Ref|''Jack has a thinker ability.''|Interlude 26b}}</nowiki></code> gives this.{{Ref|''Jack has a thinker ability.''|Interlude 26b}}
For a chapter with an excerpt, <code><nowiki>{{Ref|''Jack has a thinker ability.''|Interlude 26b}}</nowiki></code> gives this.{{Ref|''Jack has a thinker ability.''|Interlude 26b}}


Line 23: Line 48:


To reuse a manually named reference, <code><nowiki>{{Ref|name=I10.5e1}}</nowiki></code> gives this.{{Ref|name=I10.5e1}}
To reuse a manually named reference, <code><nowiki>{{Ref|name=I10.5e1}}</nowiki></code> gives this.{{Ref|name=I10.5e1}}
==Sub-templates==
*[[Template:Ref/Content]]
*[[Template:Ref/Name]]


==References==
==References==
<references/>
<references/>
</noinclude>
</noinclude>

Revision as of 08:34, May 9, 2020

Examples

For a chapter with an excerpt, {{Ref|''Jack has a thinker ability.''|Interlude 26b}} gives this.{{#if:{{{name}}}|<ref name="{{#if:{{#if:||Interlude 26b}}|auto-{{#invoke:hash|md5_hexdigest|1=chapter|2={{#if:||Interlude 26b}}|3={{{chapterlink}}}|4=Jack has a thinker ability.}}|{{#if:{{#if:|Interlude 26b}}|auto-{{#invoke:hash|md5_hexdigest|1=link|2={{#if:|Interlude 26b}}|3=|4=Jack has a thinker ability.}}|auto-{{#invoke:hash|md5_hexdigest|1=text|2=Jack has a thinker ability.}}}}}}">Jack has a thinker ability.{{#if:{{#if:||Interlude 26b}}|{{#if:Jack has a thinker ability.| - }}{{#ifeq:{{{chapterlink}}}|yes|{{#dpl:debug=0|allowcachedresults=true|uses=Template:Infobox chapter|title={{#if:||Interlude 26b}}|skipthispage=no|include={Infobox chapter}:link|includetrim=|format=,[, Excerpt] ,}}from }}[[{{#if:||Interlude 26b}}]]|{{#if:{{#if:|Interlude 26b}}|{{#if:Jack has a thinker ability.| - }}[{{#if:|Interlude 26b}} ]}}}}</ref>|<ref>Jack has a thinker ability.{{#if:{{#if:||Interlude 26b}}|{{#if:Jack has a thinker ability.| - }}{{#ifeq:{{{chapterlink}}}|yes|{{#dpl:debug=0|allowcachedresults=true|uses=Template:Infobox chapter|title={{#if:||Interlude 26b}}|skipthispage=no|include={Infobox chapter}:link|includetrim=|format=,[, Excerpt] ,}}from }}[[{{#if:||Interlude 26b}}]]|{{#if:{{#if:|Interlude 26b}}|{{#if:Jack has a thinker ability.| - }}[{{#if:|Interlude 26b}} ]}}}}</ref>}}

For a chapter without an excerpt, {{Ref||Prey 14.8}} gives this.{{#if:{{{name}}}|<ref name="{{#if:{{#if:||Prey 14.8}}|auto-{{#invoke:hash|md5_hexdigest|1=chapter|2={{#if:||Prey 14.8}}|3={{{chapterlink}}}|4=}}|{{#if:{{#if:|Prey 14.8}}|auto-{{#invoke:hash|md5_hexdigest|1=link|2={{#if:|Prey 14.8}}|3=|4=}}|auto-{{#invoke:hash|md5_hexdigest|1=text|2=}}}}}}">{{#if:{{#if:||Prey 14.8}}|{{#if:| - }}{{#ifeq:{{{chapterlink}}}|yes|{{#dpl:debug=0|allowcachedresults=true|uses=Template:Infobox chapter|title={{#if:||Prey 14.8}}|skipthispage=no|include={Infobox chapter}:link|includetrim=|format=,[, Excerpt] ,}}from }}[[{{#if:||Prey 14.8}}]]|{{#if:{{#if:|Prey 14.8}}|{{#if:| - }}[{{#if:|Prey 14.8}} ]}}}}</ref>|<ref>{{#if:{{#if:||Prey 14.8}}|{{#if:| - }}{{#ifeq:{{{chapterlink}}}|yes|{{#dpl:debug=0|allowcachedresults=true|uses=Template:Infobox chapter|title={{#if:||Prey 14.8}}|skipthispage=no|include={Infobox chapter}:link|includetrim=|format=,[, Excerpt] ,}}from }}[[{{#if:||Prey 14.8}}]]|{{#if:{{#if:|Prey 14.8}}|{{#if:| - }}[{{#if:|Prey 14.8}} ]}}}}</ref>}} (Note the first argument is blank.)

For an external link with an excerpt, {{Ref|Jack is kind of a nuker as it happens.|https://forums.spacebattles.com/posts/37024231|Discord conversation archived on Spacebattles}} gives this.{{#if:{{{name}}}|<ref name="{{#if:{{#if:Discord conversation archived on Spacebattles||https://forums.spacebattles.com/posts/37024231}}%7Cauto-{{#invoke:hash%7Cmd5_hexdigest%7C1=chapter%7C2={{#if:Discord conversation archived on Spacebattles||https://forums.spacebattles.com/posts/37024231}}%7C3={{{chapterlink}}}%7C4=Jack is kind of a nuker as it happens.}}|{{#if:{{#if:Discord conversation archived on Spacebattles|https://forums.spacebattles.com/posts/37024231}}%7Cauto-{{#invoke:hash%7Cmd5_hexdigest%7C1=link%7C2={{#if:Discord conversation archived on Spacebattles|https://forums.spacebattles.com/posts/37024231}}%7C3=Discord conversation archived on Spacebattles|4=Jack is kind of a nuker as it happens.}}|auto-{{#invoke:hash|md5_hexdigest|1=text|2=Jack is kind of a nuker as it happens.}}}}}}">Jack is kind of a nuker as it happens.{{#if:{{#if:Discord conversation archived on Spacebattles||https://forums.spacebattles.com/posts/37024231}}%7C{{#if:Jack is kind of a nuker as it happens.| - }}{{#ifeq:{{{chapterlink}}}|yes|{{#dpl:debug=0|allowcachedresults=true|uses=Template:Infobox chapter|title={{#if:Discord conversation archived on Spacebattles||https://forums.spacebattles.com/posts/37024231}}%7Cskipthispage=no%7Cinclude={Infobox chapter}:link|includetrim=|format=,[, Excerpt] ,}}from }}[[{{#if:Discord conversation archived on Spacebattles||https://forums.spacebattles.com/posts/37024231}}]]|{{#if:{{#if:Discord conversation archived on Spacebattles|https://forums.spacebattles.com/posts/37024231}}%7C{{#if:Jack is kind of a nuker as it happens.| - }}[{{#if:Discord conversation archived on Spacebattles|https://forums.spacebattles.com/posts/37024231}} Discord conversation archived on Spacebattles]}}}}</ref>|<ref>Jack is kind of a nuker as it happens.{{#if:{{#if:Discord conversation archived on Spacebattles||https://forums.spacebattles.com/posts/37024231}}%7C{{#if:Jack is kind of a nuker as it happens.| - }}{{#ifeq:{{{chapterlink}}}|yes|{{#dpl:debug=0|allowcachedresults=true|uses=Template:Infobox chapter|title={{#if:Discord conversation archived on Spacebattles||https://forums.spacebattles.com/posts/37024231}}%7Cskipthispage=no%7Cinclude={Infobox chapter}:link|includetrim=|format=,[, Excerpt] ,}}from }}[[{{#if:Discord conversation archived on Spacebattles||https://forums.spacebattles.com/posts/37024231}}]]|{{#if:{{#if:Discord conversation archived on Spacebattles|https://forums.spacebattles.com/posts/37024231}}%7C{{#if:Jack is kind of a nuker as it happens.| - }}[{{#if:Discord conversation archived on Spacebattles|https://forums.spacebattles.com/posts/37024231}} Discord conversation archived on Spacebattles]}}}}</ref>}}

For an external link without an excerpt, {{Ref||https://parahumans.wordpress.com/2013/09/05/cockroaches-28-3/|Cockroaches 28.3}} gives this.{{#if:{{{name}}}|<ref name="{{#if:{{#if:Cockroaches 28.3||https://parahumans.wordpress.com/2013/09/05/cockroaches-28-3/}}%7Cauto-{{#invoke:hash%7Cmd5_hexdigest%7C1=chapter%7C2={{#if:Cockroaches 28.3||https://parahumans.wordpress.com/2013/09/05/cockroaches-28-3/}}%7C3={{{chapterlink}}}%7C4=}}%7C{{#if:{{#if:Cockroaches 28.3|https://parahumans.wordpress.com/2013/09/05/cockroaches-28-3/}}%7Cauto-{{#invoke:hash%7Cmd5_hexdigest%7C1=link%7C2={{#if:Cockroaches 28.3|https://parahumans.wordpress.com/2013/09/05/cockroaches-28-3/}}%7C3=Cockroaches 28.3|4=}}|auto-{{#invoke:hash|md5_hexdigest|1=text|2=}}}}}}">{{#if:{{#if:Cockroaches 28.3||https://parahumans.wordpress.com/2013/09/05/cockroaches-28-3/}}%7C{{#if:%7C+-+}}{{#ifeq:{{{chapterlink}}}%7Cyes%7C{{#dpl:debug=0%7Callowcachedresults=true%7Cuses=Template:Infobox chapter|title={{#if:Cockroaches 28.3||https://parahumans.wordpress.com/2013/09/05/cockroaches-28-3/}}%7Cskipthispage=no%7Cinclude={Infobox chapter}:link|includetrim=|format=,[, Excerpt] ,}}from }}[[{{#if:Cockroaches 28.3||https://parahumans.wordpress.com/2013/09/05/cockroaches-28-3/}}]]|{{#if:{{#if:Cockroaches 28.3|https://parahumans.wordpress.com/2013/09/05/cockroaches-28-3/}}%7C{{#if:%7C+-+}}[{{#if:Cockroaches 28.3|https://parahumans.wordpress.com/2013/09/05/cockroaches-28-3/}} Cockroaches 28.3]}}}}</ref>|<ref>{{#if:{{#if:Cockroaches 28.3||https://parahumans.wordpress.com/2013/09/05/cockroaches-28-3/}}%7C{{#if:%7C+-+}}{{#ifeq:{{{chapterlink}}}%7Cyes%7C{{#dpl:debug=0%7Callowcachedresults=true%7Cuses=Template:Infobox chapter|title={{#if:Cockroaches 28.3||https://parahumans.wordpress.com/2013/09/05/cockroaches-28-3/}}%7Cskipthispage=no%7Cinclude={Infobox chapter}:link|includetrim=|format=,[, Excerpt] ,}}from }}[[{{#if:Cockroaches 28.3||https://parahumans.wordpress.com/2013/09/05/cockroaches-28-3/}}]]|{{#if:{{#if:Cockroaches 28.3|https://parahumans.wordpress.com/2013/09/05/cockroaches-28-3/}}%7C{{#if:%7C+-+}}[{{#if:Cockroaches 28.3|https://parahumans.wordpress.com/2013/09/05/cockroaches-28-3/}} Cockroaches 28.3]}}}}</ref>}} (Note the first argument is blank.)

Names are automatically generated for each reference. Duplicates of the above give these.{{#if:{{{name}}}|<ref name="{{#if:{{#if:||Interlude 26b}}|auto-{{#invoke:hash|md5_hexdigest|1=chapter|2={{#if:||Interlude 26b}}|3={{{chapterlink}}}|4=Jack has a thinker ability.}}|{{#if:{{#if:|Interlude 26b}}|auto-{{#invoke:hash|md5_hexdigest|1=link|2={{#if:|Interlude 26b}}|3=|4=Jack has a thinker ability.}}|auto-{{#invoke:hash|md5_hexdigest|1=text|2=Jack has a thinker ability.}}}}}}">Jack has a thinker ability.{{#if:{{#if:||Interlude 26b}}|{{#if:Jack has a thinker ability.| - }}{{#ifeq:{{{chapterlink}}}|yes|{{#dpl:debug=0|allowcachedresults=true|uses=Template:Infobox chapter|title={{#if:||Interlude 26b}}|skipthispage=no|include={Infobox chapter}:link|includetrim=|format=,[, Excerpt] ,}}from }}[[{{#if:||Interlude 26b}}]]|{{#if:{{#if:|Interlude 26b}}|{{#if:Jack has a thinker ability.| - }}[{{#if:|Interlude 26b}} ]}}}}</ref>|<ref>Jack has a thinker ability.{{#if:{{#if:||Interlude 26b}}|{{#if:Jack has a thinker ability.| - }}{{#ifeq:{{{chapterlink}}}|yes|{{#dpl:debug=0|allowcachedresults=true|uses=Template:Infobox chapter|title={{#if:||Interlude 26b}}|skipthispage=no|include={Infobox chapter}:link|includetrim=|format=,[, Excerpt] ,}}from }}[[{{#if:||Interlude 26b}}]]|{{#if:{{#if:|Interlude 26b}}|{{#if:Jack has a thinker ability.| - }}[{{#if:|Interlude 26b}} ]}}}}</ref>}}{{#if:{{{name}}}|<ref name="{{#if:{{#if:||Prey 14.8}}|auto-{{#invoke:hash|md5_hexdigest|1=chapter|2={{#if:||Prey 14.8}}|3={{{chapterlink}}}|4=}}|{{#if:{{#if:|Prey 14.8}}|auto-{{#invoke:hash|md5_hexdigest|1=link|2={{#if:|Prey 14.8}}|3=|4=}}|auto-{{#invoke:hash|md5_hexdigest|1=text|2=}}}}}}">{{#if:{{#if:||Prey 14.8}}|{{#if:| - }}{{#ifeq:{{{chapterlink}}}|yes|{{#dpl:debug=0|allowcachedresults=true|uses=Template:Infobox chapter|title={{#if:||Prey 14.8}}|skipthispage=no|include={Infobox chapter}:link|includetrim=|format=,[, Excerpt] ,}}from }}[[{{#if:||Prey 14.8}}]]|{{#if:{{#if:|Prey 14.8}}|{{#if:| - }}[{{#if:|Prey 14.8}} ]}}}}</ref>|<ref>{{#if:{{#if:||Prey 14.8}}|{{#if:| - }}{{#ifeq:{{{chapterlink}}}|yes|{{#dpl:debug=0|allowcachedresults=true|uses=Template:Infobox chapter|title={{#if:||Prey 14.8}}|skipthispage=no|include={Infobox chapter}:link|includetrim=|format=,[, Excerpt] ,}}from }}[[{{#if:||Prey 14.8}}]]|{{#if:{{#if:|Prey 14.8}}|{{#if:| - }}[{{#if:|Prey 14.8}} ]}}}}</ref>}}{{#if:{{{name}}}|<ref name="{{#if:{{#if:Discord conversation archived on Spacebattles||https://forums.spacebattles.com/posts/37024231}}%7Cauto-{{#invoke:hash%7Cmd5_hexdigest%7C1=chapter%7C2={{#if:Discord conversation archived on Spacebattles||https://forums.spacebattles.com/posts/37024231}}%7C3={{{chapterlink}}}%7C4=Jack is kind of a nuker as it happens.}}|{{#if:{{#if:Discord conversation archived on Spacebattles|https://forums.spacebattles.com/posts/37024231}}%7Cauto-{{#invoke:hash%7Cmd5_hexdigest%7C1=link%7C2={{#if:Discord conversation archived on Spacebattles|https://forums.spacebattles.com/posts/37024231}}%7C3=Discord conversation archived on Spacebattles|4=Jack is kind of a nuker as it happens.}}|auto-{{#invoke:hash|md5_hexdigest|1=text|2=Jack is kind of a nuker as it happens.}}}}}}">Jack is kind of a nuker as it happens.{{#if:{{#if:Discord conversation archived on Spacebattles||https://forums.spacebattles.com/posts/37024231}}%7C{{#if:Jack is kind of a nuker as it happens.| - }}{{#ifeq:{{{chapterlink}}}|yes|{{#dpl:debug=0|allowcachedresults=true|uses=Template:Infobox chapter|title={{#if:Discord conversation archived on Spacebattles||https://forums.spacebattles.com/posts/37024231}}%7Cskipthispage=no%7Cinclude={Infobox chapter}:link|includetrim=|format=,[, Excerpt] ,}}from }}[[{{#if:Discord conversation archived on Spacebattles||https://forums.spacebattles.com/posts/37024231}}]]|{{#if:{{#if:Discord conversation archived on Spacebattles|https://forums.spacebattles.com/posts/37024231}}%7C{{#if:Jack is kind of a nuker as it happens.| - }}[{{#if:Discord conversation archived on Spacebattles|https://forums.spacebattles.com/posts/37024231}} Discord conversation archived on Spacebattles]}}}}</ref>|<ref>Jack is kind of a nuker as it happens.{{#if:{{#if:Discord conversation archived on Spacebattles||https://forums.spacebattles.com/posts/37024231}}%7C{{#if:Jack is kind of a nuker as it happens.| - }}{{#ifeq:{{{chapterlink}}}|yes|{{#dpl:debug=0|allowcachedresults=true|uses=Template:Infobox chapter|title={{#if:Discord conversation archived on Spacebattles||https://forums.spacebattles.com/posts/37024231}}%7Cskipthispage=no%7Cinclude={Infobox chapter}:link|includetrim=|format=,[, Excerpt] ,}}from }}[[{{#if:Discord conversation archived on Spacebattles||https://forums.spacebattles.com/posts/37024231}}]]|{{#if:{{#if:Discord conversation archived on Spacebattles|https://forums.spacebattles.com/posts/37024231}}%7C{{#if:Jack is kind of a nuker as it happens.| - }}[{{#if:Discord conversation archived on Spacebattles|https://forums.spacebattles.com/posts/37024231}} Discord conversation archived on Spacebattles]}}}}</ref>}}{{#if:{{{name}}}|<ref name="{{#if:{{#if:Cockroaches 28.3||https://parahumans.wordpress.com/2013/09/05/cockroaches-28-3/}}%7Cauto-{{#invoke:hash%7Cmd5_hexdigest%7C1=chapter%7C2={{#if:Cockroaches 28.3||https://parahumans.wordpress.com/2013/09/05/cockroaches-28-3/}}%7C3={{{chapterlink}}}%7C4=}}%7C{{#if:{{#if:Cockroaches 28.3|https://parahumans.wordpress.com/2013/09/05/cockroaches-28-3/}}%7Cauto-{{#invoke:hash%7Cmd5_hexdigest%7C1=link%7C2={{#if:Cockroaches 28.3|https://parahumans.wordpress.com/2013/09/05/cockroaches-28-3/}}%7C3=Cockroaches 28.3|4=}}|auto-{{#invoke:hash|md5_hexdigest|1=text|2=}}}}}}">{{#if:{{#if:Cockroaches 28.3||https://parahumans.wordpress.com/2013/09/05/cockroaches-28-3/}}%7C{{#if:%7C+-+}}{{#ifeq:{{{chapterlink}}}%7Cyes%7C{{#dpl:debug=0%7Callowcachedresults=true%7Cuses=Template:Infobox chapter|title={{#if:Cockroaches 28.3||https://parahumans.wordpress.com/2013/09/05/cockroaches-28-3/}}%7Cskipthispage=no%7Cinclude={Infobox chapter}:link|includetrim=|format=,[, Excerpt] ,}}from }}[[{{#if:Cockroaches 28.3||https://parahumans.wordpress.com/2013/09/05/cockroaches-28-3/}}]]|{{#if:{{#if:Cockroaches 28.3|https://parahumans.wordpress.com/2013/09/05/cockroaches-28-3/}}%7C{{#if:%7C+-+}}[{{#if:Cockroaches 28.3|https://parahumans.wordpress.com/2013/09/05/cockroaches-28-3/}} Cockroaches 28.3]}}}}</ref>|<ref>{{#if:{{#if:Cockroaches 28.3||https://parahumans.wordpress.com/2013/09/05/cockroaches-28-3/}}%7C{{#if:%7C+-+}}{{#ifeq:{{{chapterlink}}}%7Cyes%7C{{#dpl:debug=0%7Callowcachedresults=true%7Cuses=Template:Infobox chapter|title={{#if:Cockroaches 28.3||https://parahumans.wordpress.com/2013/09/05/cockroaches-28-3/}}%7Cskipthispage=no%7Cinclude={Infobox chapter}:link|includetrim=|format=,[, Excerpt] ,}}from }}[[{{#if:Cockroaches 28.3||https://parahumans.wordpress.com/2013/09/05/cockroaches-28-3/}}]]|{{#if:{{#if:Cockroaches 28.3|https://parahumans.wordpress.com/2013/09/05/cockroaches-28-3/}}%7C{{#if:%7C+-+}}[{{#if:Cockroaches 28.3|https://parahumans.wordpress.com/2013/09/05/cockroaches-28-3/}} Cockroaches 28.3]}}}}</ref>}}

To override the generated name, pass a non-empty name as a template parameter. To suppress the generated name, pass an empty name. For example, the following snippet gives this.{{#if:I10.5e1|<ref name="I10.5e1">A girl with curly black hair and glasses, stick thin, hugging a red-haired girl. The body type was a match.

[...]

The goal was always the same: to look for the girl with the slight build, curly black hair and glasses. Taylor Hebert.{{#if:{{#if:||Interlude 10.5}}|{{#if:A girl with curly black hair and glasses, stick thin, hugging a red-haired girl. The body type was a match.

[...]

The goal was always the same: to look for the girl with the slight build, curly black hair and glasses. Taylor Hebert.| - }}{{#ifeq:{{{chapterlink}}}|yes|{{#dpl:debug=0|allowcachedresults=true|uses=Template:Infobox chapter|title={{#if:||Interlude 10.5}}|skipthispage=no|include={Infobox chapter}:link|includetrim=|format=,[, Excerpt] ,}}from }}[[{{#if:||Interlude 10.5}}]]|{{#if:{{#if:|Interlude 10.5}}|{{#if:A girl with curly black hair and glasses, stick thin, hugging a red-haired girl. The body type was a match.

[...]

The goal was always the same: to look for the girl with the slight build, curly black hair and glasses. Taylor Hebert.| - }}[{{#if:|Interlude 10.5}} ]}}}}</ref>|<ref>A girl with curly black hair and glasses, stick thin, hugging a red-haired girl. The body type was a match.

[...]

The goal was always the same: to look for the girl with the slight build, curly black hair and glasses. Taylor Hebert.{{#if:{{#if:||Interlude 10.5}}|{{#if:A girl with curly black hair and glasses, stick thin, hugging a red-haired girl. The body type was a match.

[...]

The goal was always the same: to look for the girl with the slight build, curly black hair and glasses. Taylor Hebert.| - }}{{#ifeq:{{{chapterlink}}}|yes|{{#dpl:debug=0|allowcachedresults=true|uses=Template:Infobox chapter|title={{#if:||Interlude 10.5}}|skipthispage=no|include={Infobox chapter}:link|includetrim=|format=,[, Excerpt] ,}}from }}[[{{#if:||Interlude 10.5}}]]|{{#if:{{#if:|Interlude 10.5}}|{{#if:A girl with curly black hair and glasses, stick thin, hugging a red-haired girl. The body type was a match.

[...]

The goal was always the same: to look for the girl with the slight build, curly black hair and glasses. Taylor Hebert.| - }}[{{#if:|Interlude 10.5}} ]}}}}</ref>}}

<syntaxhighlight lang="text">{{#if:I10.5e1|<ref name="I10.5e1">A girl with curly black hair and glasses, stick thin, hugging a red-haired girl. The body type was a match.

[...]

The goal was always the same: to look for the girl with the slight build, curly black hair and glasses. Taylor Hebert.{{#if:{{#if:||Interlude 10.5}}|{{#if:A girl with curly black hair and glasses, stick thin, hugging a red-haired girl. The body type was a match.

[...]

The goal was always the same: to look for the girl with the slight build, curly black hair and glasses. Taylor Hebert.| - }}{{#ifeq:{{{chapterlink}}}|yes|{{#dpl:debug=0|allowcachedresults=true|uses=Template:Infobox chapter|title={{#if:||Interlude 10.5}}|skipthispage=no|include={Infobox chapter}:link|includetrim=|format=,[, Excerpt] ,}}from }}[[{{#if:||Interlude 10.5}}]]|{{#if:{{#if:|Interlude 10.5}}|{{#if:A girl with curly black hair and glasses, stick thin, hugging a red-haired girl. The body type was a match.

[...]

The goal was always the same: to look for the girl with the slight build, curly black hair and glasses. Taylor Hebert.| - }}[{{#if:|Interlude 10.5}} ]}}}}</ref>|<ref>A girl with curly black hair and glasses, stick thin, hugging a red-haired girl. The body type was a match.

[...]

The goal was always the same: to look for the girl with the slight build, curly black hair and glasses. Taylor Hebert.{{#if:{{#if:||Interlude 10.5}}|{{#if:A girl with curly black hair and glasses, stick thin, hugging a red-haired girl. The body type was a match.

[...]

The goal was always the same: to look for the girl with the slight build, curly black hair and glasses. Taylor Hebert.| - }}{{#ifeq:{{{chapterlink}}}|yes|{{#dpl:debug=0|allowcachedresults=true|uses=Template:Infobox chapter|title={{#if:||Interlude 10.5}}|skipthispage=no|include={Infobox chapter}:link|includetrim=|format=,[, Excerpt] ,}}from }}[[{{#if:||Interlude 10.5}}]]|{{#if:{{#if:|Interlude 10.5}}|{{#if:A girl with curly black hair and glasses, stick thin, hugging a red-haired girl. The body type was a match.

[...]

The goal was always the same: to look for the girl with the slight build, curly black hair and glasses. Taylor Hebert.| - }}[{{#if:|Interlude 10.5}} ]}}}}</ref>}}</syntaxhighlight>

To reuse a manually named reference, {{Ref|name=I10.5e1}} gives this.{{#if:I10.5e1|<ref name="I10.5e1">{{#if:{{#if:||}}|{{#if:| - }}{{#ifeq:{{{chapterlink}}}|yes|{{#dpl:debug=0|allowcachedresults=true|uses=Template:Infobox chapter|title={{#if:||}}|skipthispage=no|include={Infobox chapter}:link|includetrim=|format=,[, Excerpt] ,}}from }}[[{{#if:||}}]]|{{#if:{{#if:|}}|{{#if:| - }}[{{#if:|}} ]}}}}</ref>|<ref>{{#if:{{#if:||}}|{{#if:| - }}{{#ifeq:{{{chapterlink}}}|yes|{{#dpl:debug=0|allowcachedresults=true|uses=Template:Infobox chapter|title={{#if:||}}|skipthispage=no|include={Infobox chapter}:link|includetrim=|format=,[, Excerpt] ,}}from }}[[{{#if:||}}]]|{{#if:{{#if:|}}|{{#if:| - }}[{{#if:|}} ]}}}}</ref>}}

Sub-templates

References

<references/>