Template:Storylink: Difference between revisions

From No Man's Land - A Trigun Wiki
Jump to navigation Jump to search
imported>Katie5000
(Created page with "<noinclude> ==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 {{SITENAME}}. 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==...")
 
m (formatting nudge)
 
(8 intermediate revisions by 3 users not shown)
Line 31: Line 31:
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. {{Storylink|TRUTH OF MISTAKE}}
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. {{Storylink|TRUTH OF MISTAKE}}


[[Category:Fiction section templates]]
[[Category:Templates]]
</noinclude><includeonly><span style="font-size: 12px; background-color: #E5E4E2;">[[{{{1}}}|{{{2|{{{1}}}}}}]]</span></includeonly><noinclude>
<templatedata>
{
"params": {
"1": {
"label": "Page name",
"description": "Name of page being linked to WITHOUT WikiText.",
"example": "Vash the Stampede (episode)",
"type": "wiki-page-name",
"required": true
},
"2": {
"label": "Display name",
"description": "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",
"type": "content"
}
}
}
</templatedata>
</noinclude>
</noinclude>
<includeonly><span class="tt1_storylink">[[{{{1}}}|{{{2|{{{1}}}}}}]]</span></includeonly>

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