Template:Storylink: Difference between revisions

From the Kingdom Hearts Wiki, the Kingdom Hearts encyclopedia
Jump to navigationJump to search
m (Text replacement - "font-size:10px" to "font-size:85%")
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><nowiki> </nowiki><span style="font-size:85%;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-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>
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 13: Line 13:
:<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>
:<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>


[[Category:Fiction section templates]]
[[Category:Templates]]</noinclude>
</noinclude>

Latest revision as of 21:37, 23 August 2021

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