Template:Storylink: Difference between revisions

From the Kingdom Hearts Wiki, the Kingdom Hearts encyclopedia
Jump to navigationJump to search
No edit summary
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly><nowiki> </nowiki><span style="font-size:90%;background-color:#ececec;border-width: 0 1px 0 1px;border-style:solid;padding: 0 5px 0 5px;border-color:#cccccc;" class="tt1_nowrap">[[{{{1}}}|{{{2|{{{1}}}}}}]]</span></includeonly><noinclude>
<includeonly><nowiki> </nowiki><span style="font-size:90%;background:#ececec;border-width:0 1px;border-style:solid;border-color:#ccc;padding:0 5px">[[{{{1}}}|{{{2|{{{1}}}}}}]]</span></includeonly><noinclude>
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 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.


Line 11: Line 11:
These examples are rendered in the dummy text below, in the same order:
These examples are rendered in the dummy text below, in the same order:


:<div style="background:#ececec">Lorem ipsum dolor sit amet {{Storylink|King of the Hill|Marvel US #27}}, 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|King of the Hill}}</div>
:Lorem ipsum dolor sit amet {{Storylink|King of the Hill|Marvel US #27}}, 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|King of the Hill}}


[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Latest revision as of 13:22, 7 August 2024

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.

In non-fiction sections, it's better to refer to the work of fiction normally, e.g., "The last appearance of Bumblebee's Pretender shell is in the comic 'Dark Creation'."

This template accepts two arguments, the first should be the article being linked to, and the second is an optional description which will appear as the link text. If the second argument is omitted, the text of the link will default to the name of the article being referenced.

{{Storylink|King of the Hill|Marvel US #27}}
{{Storylink|King of the Hill}}

These examples are rendered in the dummy text below, in the same order:

Lorem ipsum dolor sit amet Marvel US #27, 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. King of the Hill