Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Worm Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Template:Ref
Template
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
<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|}}}||{{#ifeq:{{#sub:{{{2|}}}|0|1}}|#|{{#sub:{{{2|}}}|1}}|{{{2|}}}}}}}<!-- -->|chapterlink={{#if:{{{3|}}}||{{#ifeq:{{#sub:{{{2|}}}|0|1}}|#|yes|no}}}}<!-- -->|link={{#if:{{{3|}}}|{{{2|}}}}}<!-- -->|label={{{3|}}}<!-- -->}}<!-- -->|name={{{name|{{Ref/Name<!-- -->|excerpt={{{1|}}}<!-- -->|chapter={{#if:{{{3|}}}||{{#ifeq:{{#sub:{{{2|}}}|0|1}}|#|{{#sub:{{{2|}}}|1}}|{{{2|}}}}}}}<!-- -->|chapterlink={{#if:{{{3|}}}||{{#ifeq:{{#sub:{{{2|}}}|0|1}}|#|yes|no}}}}<!-- -->|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|}}}||{{#ifeq:{{#sub:{{{2|}}}|0|1}}|#|{{#sub:{{{2|}}}|1}}|{{{2|}}}}}}}<!-- -->|chapterlink={{#if:{{{3|}}}||{{#ifeq:{{#sub:{{{2|}}}|0|1}}|#|yes|no}}}}<!-- -->|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}} To include a direct link to the chapter, prefix the chapter name with a hash. For example, <code><nowiki>{{Ref|Brian insisted I take two Tylenol, though the pain was still limited to a mild ache in my arm. I grudgingly obliged. Iβd never liked taking pills, and never felt they made a real difference.|#Insinuation 2.9}}</nowiki></code> gives this.{{Ref|Brian insisted I take two Tylenol, though the pain was still limited to a mild ache in my arm. I grudgingly obliged. Iβd never liked taking pills, and never felt they made a real difference.|#Insinuation 2.9}} Note that, for this to work: (a) [[Help:DPL|DPL]] must be enabled; (b) the referenced chapter's article must have a {{T|Infobox chapter}} with the <code>link</code> parameter set; and (c) the value of that <code>link</code> parameter must be a bare URL (i.e. <code><nowiki>link=http://parahumans.wordpress.com/2011/08/02/insinuation-2-9/</nowiki></code> instead of <code><nowiki>link=[http://parahumans.wordpress.com/2011/08/02/insinuation-2-9/ {{PAGENAME}}]</nowiki></code>). For a chapter ''without'' an excerpt, <code><nowiki>{{Ref||Prey 14.8}}</nowiki></code> gives this.{{Ref||Prey 14.8}} (Note the first argument is blank.) For an external link with an excerpt, <code><nowiki>{{Ref|Jack is kind of a nuker as it happens.|https://forums.spacebattles.com/posts/37024231|Discord conversation archived on Spacebattles}}</nowiki></code> gives this.{{Ref|Jack is kind of a nuker as it happens.|https://forums.spacebattles.com/posts/37024231|Discord conversation archived on Spacebattles}} For an external link ''without'' an excerpt, <code><nowiki>{{Ref||https://parahumans.wordpress.com/2013/09/05/cockroaches-28-3/|Cockroaches 28.3}}</nowiki></code> gives this.{{Ref||https://parahumans.wordpress.com/2013/09/05/cockroaches-28-3/|Cockroaches 28.3}} (Note the first argument is blank.) Names are automatically generated for each reference. Duplicates of the above give these.{{Ref|''Jack has a thinker ability.''|Interlude 26b}}{{Ref|Brian insisted I take two Tylenol, though the pain was still limited to a mild ache in my arm. I grudgingly obliged. Iβd never liked taking pills, and never felt they made a real difference.|#Insinuation 2.9}}{{Ref||Prey 14.8}}{{Ref|Jack is kind of a nuker as it happens.|https://forums.spacebattles.com/posts/37024231|Discord conversation archived on Spacebattles}}{{Ref||https://parahumans.wordpress.com/2013/09/05/cockroaches-28-3/|Cockroaches 28.3}} To override the generated name, pass a non-empty <code>name</code> as a template parameter. To suppress the generated name, pass an empty <code>name</code>. For example, <code><nowiki>{{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.<br/><br/>[...]<br/><br/>The goal was always the same: to look for the girl with the slight build, curly black hair and glasses. Taylor Hebert.|Interlude 10.5}}</nowiki></code> gives this.{{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.<br/><br/>[...]<br/><br/>The goal was always the same: to look for the girl with the slight build, curly black hair and glasses. Taylor Hebert.|Interlude 10.5}} 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/> </noinclude>
Summary:
Please note that all contributions to Worm Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Worm Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)