Template:ExtraTF: Difference between revisions
No edit summary |
m (→Result) |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1:
<noinclude>A template for pages covering content from outside ''[[The Transformers]]''. Has a mandatory parameter depending on usage.
<noinclude>[[Category:Templates]]▼
__NOTOC__
</noinclude>{{#switch: {{{1}}}▼
==Pages of entirely extra-''Transformers'' content==
|page=<br clear="all" />{{messagebox▼
"[[Too Many Ghostbusters!]]" is a story entirely from ''The Real Ghostbusters''. To mark the entire page as non-''Transformers'':
===Code===
<pre>
{{ExtraTF|page}}
</pre>
===Result===
{{ExtraTF|page}}
==Pages of partly-''Transformers'' content==
The [[Sixth Doctor]] is mentioned in both ''The Transformers'' and ''Doctor Who Magazine''. Sections about his non-''Transformers'' appearances should be marked with both the "section" parameter and [[Template:Notice]].
===Code===
<pre>
{{Notice/Start}}
{{ExtraTF|section}}
{{Notice/End}}
</pre>
===Result===
====Fiction====
{{TF|Starscream_(G1)/Marvel_Comics_continuity|Starscream}} once received an urgent message intended for the Doctor. {{tfstorylink|To_a_Power_Unknown!|To a Power Unknown!}}
{{Notice/Start}}
{{ExtraTF|section}}
The Sixth Doctor once appeared to save his [[The Doctor|seventh incarnation]] from the [[Gwanzulum]]. {{storylink|Planet of the Dead}}
{{Notice/End}}
==Pages with multiple sections of partly-''Transformers'' content==
When there are multiple sections on long pages, the smaller "sub" parameter should be used on the second and/or later parts of the article. This version of the template links readers to the longer explanation provided by the "section" version.
===Code===
<pre>
{{Notice/Start}}
{{ExtraTF|sub}}
{{Notice/End}}
</pre>
===Result===
{{Notice/Start}}
{{ExtraTF|section}}
[[Death's Head]] was grown out of a weird magic tree. {{storylink|Death's Head (comics)|The Body in Question}}
{{Notice/End}}
Death's Head killed a cowboy. {{storylink|High Noon Tex}}
{{Notice/Start}}
{{ExtraTF|sub}} Death's Head met [[Iron Man 2020]]. {{storylink|Death's Head (comics)|The Cast Iron Contract}}
{{Notice/End}}
▲</noinclude><includeonly>{{#switch: {{{1}}}
|header="Occupy your mind with ''other'' things, like ''Marvel Comics!"''
|message_text=This page concerns a character, story, or concept from a comic other than ''[[The Transformers]]''.<br>The TFUK Appendix has decided it is worth documenting to provide contextual information for the wider [[robot universe]].
Line 8 ⟶ 52:
|mouseover=Oi, Col! Are we on a commission from the publishers for this?
|width = 100%
|border=ef361d
|bgcolor=fff1ef
Line 14 ⟶ 57:
}}
|section=
|header="Occupy your mind with ''other'' things, like ''Marvel Comics!"''
|message_text=Some information on this page originates from outside of ''[[The Transformers]]'', signified by a red border.
Line 20 ⟶ 63:
|image_width=150px
|mouseover=Oi, Col! Are we on a commission from the publishers for this?
|width =
|border=ef361d
|bgcolor=fff1ef
Line 27 ⟶ 69:
}}
|sub=<div style="background-color:#fff1ef;border:solid 1px;border-color:#ef361d;padding:0em 0.5em 0em 0.5em;display:inline-block;"><span style="display:block;">Information in the red borders comes from outside ''[[The Transformers]]''. [[#ExtraTF|See above]].</span></div>
}}</includeonly>
|
Latest revision as of 23:20, 24 January 2024
A template for pages covering content from outside The Transformers. Has a mandatory parameter depending on usage.
Pages of entirely extra-Transformers content
"Too Many Ghostbusters!" is a story entirely from The Real Ghostbusters. To mark the entire page as non-Transformers:
Code
{{ExtraTF|page}}
Result
Pages of partly-Transformers content
The Sixth Doctor is mentioned in both The Transformers and Doctor Who Magazine. Sections about his non-Transformers appearances should be marked with both the "section" parameter and Template:Notice.
Code
{{Notice/Start}} {{ExtraTF|section}} {{Notice/End}}
Result
Fiction
Starscream once received an urgent message intended for the Doctor. To a Power Unknown!
The Sixth Doctor once appeared to save his seventh incarnation from the Gwanzulum. Planet of the Dead
Pages with multiple sections of partly-Transformers content
When there are multiple sections on long pages, the smaller "sub" parameter should be used on the second and/or later parts of the article. This version of the template links readers to the longer explanation provided by the "section" version.
Code
{{Notice/Start}} {{ExtraTF|sub}} {{Notice/End}}
Result
Death's Head was grown out of a weird magic tree. The Body in Question
Death's Head killed a cowboy. High Noon Tex