Jump to content

Template:Ref

From Worm Wiki
Revision as of 08:12, May 9, 2020 by Puxlit (talk | contribs) (Add documentation for cases per discussion with Damage3245)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Examples

For a chapter with an excerpt, {{Ref|''Jack has a thinker ability.''|Interlude 26b}} gives this.TODO

For a chapter without an excerpt, {{Ref||Prey 14.8}} gives this.TODO (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.TODO

For an external link without an excerpt, {{Ref||https://parahumans.wordpress.com/2013/09/05/cockroaches-28-3/|Cockroaches 28.3}} gives this.TODO (Note the first argument is blank.)

Names are automatically generated for each reference. Duplicates of the above give these.TODOTODOTODOTODO

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.TODO

<syntaxhighlight lang="text">TODO</syntaxhighlight>

To reuse a manually named reference, {{Ref|name=I10.5e1}} gives this.TODO

References

<references/>