Template:Storylink: Difference between revisions
m (additional template data) |
m (formatting nudge) Tag: Reverted |
||
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 | |||
<noinclude> | |||
<templatedata> | <templatedata> | ||
{ | { |
Revision as of 10:24, 2 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.
- The title of the story article to link to.
Optional
This template takes one optional anonymous parameter.
- 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</span, 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</span
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Page name | 1 | Name of page being linked to WITHOUT WikiText.
| Page name | required |
Display name | 2 | 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.
| Content | optional |