Template:Storylink: Difference between revisions

From No Man's Land - A Trigun Wiki
Jump to navigation Jump to search
m (Undo revision 13534 by Whyitskai (talk))
Tag: Undo
m (formatting nudge)
 
Line 32: Line 32:


[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude><includeonly><span style="font-size: 12px; background-color: #E5E4E2;">[[{{{1}}}|{{{2|{{{1}}}}}}]]</span></includeonly><noinclude>
<includeonly><span style="font-size: 12px; background-color: #E5E4E2;">[[{{{1}}}|{{{2|{{{1}}}}}}]]</span></includeonly>
<noinclude>
<templatedata>
<templatedata>
{
{

Latest revision as of 08:50, 8 October 2023

Description

This template is intended for use in fiction sections, allowing for cross-references to the source of the history being discussed, without needing to break the flow of the story or use footnotes. This template creates a link to a story article here on No Man's Land - A Trigun Wiki.

In non-fiction sections, it's better to refer to the work of fiction normally, e.g., "The first appearance of Wolfwood's Punisher is in episode 9, 'MURDER MACHINE'."

Usage

Parameters

Required

This template takes one required anonymous parameter.

  1. The title of the story article to link to.

Optional

This template takes one optional anonymous parameter.

  1. The custom text to use for the link

Code

{{Storylink
|param1
|param2
}}

Examples

Code

Lorem ipsum dolor sit amet {{Storylink|TRUTH OF MISTAKE|Episode 2}}, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. 
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. {{Storylink|TRUTH OF MISTAKE}}

Result

Lorem ipsum dolor sit amet Episode 2, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. TRUTH OF MISTAKE

No description.

[Edit template data]

Template parameters

ParameterDescriptionTypeStatus
Page name1

Name of page being linked to WITHOUT WikiText.

Example
Vash the Stampede (episode)
Page namerequired
Display name2

Use this field if the linked page name contains (chapter) or (episode) in the name to shorten it to just the title. It may also be used to abbreviate the storylink to chapter or episode number.

Example
Vash the Stampede; Ep. 13
Contentoptional