Template:Tfstorylink: Difference between revisions
From The Transformers UK Appendix
Jump to navigationJump to search
Content added Content deleted
(Undo revision 96 by TheLastGherkin (talk)) Tag: Undo |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
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. |
||
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]]'." |
|||
==Usage== |
==Usage== |
||
===Parameters=== |
===Parameters=== |
||
Line 22: | Line 21: | ||
</pre> |
</pre> |
||
==Examples== |
==Examples== |
||
{{note|The below example includes fake |
{{note|The below example includes fake [[w:Lorem ipsum]] text for the purpose of showing the template in the flow of a paragraph.}} |
||
===Code=== |
===Code=== |
||
<pre> |
<pre> |
||
Lorem ipsum dolor sit amet {{tfstorylink| |
Lorem ipsum dolor sit amet {{tfstorylink|Prisoner_of_War!|''Transformers'' issue 3}}, 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. {{tfstorylink| |
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. {{tfstorylink|Prisoner_of_War!|Prisoner of War!}}</pre> |
||
===Result=== |
===Result=== |
||
Lorem ipsum dolor sit amet {{tfstorylink| |
Lorem ipsum dolor sit amet {{tfstorylink|Prisoner_of_War!|''Transformers'' issue 3}}, 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. {{tfstorylink| |
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. {{tfstorylink|Prisoner_of_War!|Prisoner of War!}} |
||
[[Category:Fiction section templates]] |
[[Category:Fiction section templates]] |
||
</noinclude><includeonly><onlyinclude><span class="tt1_tfstorylink">[https://tfwiki.net/wiki/{{{1}}} {{{2}}}]</span></onlyinclude></includeonly> |
</noinclude><includeonly><onlyinclude><span class="tt1_tfstorylink">[https://tfwiki.net/wiki/{{{1}}} {{{2}}} [[File:TFWikiFavicon.png|link=]]]</span></onlyinclude></includeonly> |
Latest revision as of 09:04, 13 September 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.
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
{{tfstorylink |param2 |param1 }}
Examples
The below example includes fake w:Lorem ipsum text for the purpose of showing the template in the flow of a paragraph.
Code
Lorem ipsum dolor sit amet {{tfstorylink|Prisoner_of_War!|''Transformers'' issue 3}}, 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. {{tfstorylink|Prisoner_of_War!|Prisoner of War!}}
Result
Lorem ipsum dolor sit amet Transformers issue 3 , 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. Prisoner of War!