User:Tigerpaw28/Sandbox/Template:CollapseNote: Difference between revisions
Tigerpaw28 (talk | contribs) m Integrating test CSS from my personal CSS file (class tt1_graynote2) so that it formats properly for other users. |
→Predefined Notes: Collapsible notes would allow for a little more... clarity. Revert if this seems excessive. |
||
| (2 intermediate revisions by one other user not shown) | |||
| Line 38: | Line 38: | ||
== Predefined Notes == | == Predefined Notes == | ||
To add additional notes, first edit | To add additional notes, first edit [[User:Tigerpaw28/Sandbox/Template:CollapseNote/Notes]] using the syntax described there, then add to this list. | ||
{| class="prettytable sortable" border="1" | {| class="prettytable sortable" border="1" | ||
|- | |- | ||
| Line 44: | Line 44: | ||
!NOTE TEXT | !NOTE TEXT | ||
|- | |- | ||
|EarthforceFiction||These stories do not fit into the normal Marvel continuity. See [[Earthforce]] for details. | |EarthforceFiction||These stories do not fit into the normal Marvel continuity. See "[[Earthforce]]" for details. | ||
|- | |- | ||
|Idw-tfa||Events from [[IDW Publishing]] or [[Fun Publications]] | |Idw-tfa||Events from the supplemental [[IDW Publishing]] or [[Fun Publications]] stories are in italics. | ||
|- | |- | ||
|Noteclassics||''[[Transformers: Classics|Classics]]'' continues from the [[The Transformers (Marvel comic)|Marvel US series]], | |Noteclassics||''[[Transformers: Classics|Classics]]'' fiction continues from the [[The Transformers (Marvel comic)|original Marvel US comic series]], but does not include [[Transformers: Generation 2 (Marvel)|Marvel's ''Generation 2'' comics]], the [[The Transformers (Marvel comic)#Marvel UK|UK stories]] or any other subsequently-published stories. | ||
|} | |} | ||
== Examples == | == Examples == | ||
Latest revision as of 11:35, 10 January 2016
Format of the template code
[edit]<div class="tt1_graynote2">
:<!--- Header --->
:<span style="font-weight:900;font-style:normal;">{{{header|Note}}} : </span>
:<!--- Non-hideable content --->
:{{{visible|}}}
:<!--- Hideable content -->
:<span class="ocreditspan">{{User:Tigerpaw28/Sandbox/Template:CollapseNote/Notes|{{{hideable}}}}}</span>
</div>
How to use
[edit]{{User:Tigerpaw28/Sandbox/TemplateCollapseNote|header=Sample|visible=Sample|hideable=Sample}}
- This template has three parameters:
- header - This is the text shown in bold and followed by a colon. This parameter is optional and if omitted the header text will be the standard Note header.
- visibile - This is text that will follow the header and always be visible. This parameter is optional.
- hideable - This is the collapsible text and a required parameter. It can be either custom text or the name of a predefined note (see below).
Predefined Notes
[edit]To add additional notes, first edit User:Tigerpaw28/Sandbox/Template:CollapseNote/Notes using the syntax described there, then add to this list.
| NOTE NAME | NOTE TEXT |
|---|---|
| EarthforceFiction | These stories do not fit into the normal Marvel continuity. See "Earthforce" for details. |
| Idw-tfa | Events from the supplemental IDW Publishing or Fun Publications stories are in italics. |
| Noteclassics | Classics fiction continues from the original Marvel US comic series, but does not include Marvel's Generation 2 comics, the UK stories or any other subsequently-published stories. |
Examples
[edit]Hideable text only, predefined
[edit]{{User:Tigerpaw28/Sandbox/Template:CollapseNote|hideable=Noteclassics}}
Note : Classics fiction continues from the original Marvel US comic series, but does not include Marvel's Generation 2 comics, the UK stories or any other subsequently-published stories.
Hideable text only, custom
[edit]{{User:Tigerpaw28/Sandbox/Template:CollapseNote|hideable=These stories do not fit into the normal Marvel continuity. See [[Earthforce]] for details.}}
Note : These stories do not fit into the normal Marvel continuity. See Earthforce for details.
Hideable and Visible text
[edit]{{User:Tigerpaw28/Sandbox/Template:CollapseNote|visible=This text is always visible.|hideable=EarthforceFiction}}
Note : This text is always visible. These stories do not fit into the normal Marvel continuity. See Earthforce for details.
Hideable and Header text
[edit]{{User:Tigerpaw28/Sandbox/Template:CollapseNote|header=Continuity Note|hideable=Idw-tfa}}
Continuity Note : Events from the supplemental IDW Publishing or Fun Publications stories are in italics.
Hideable, Visible, and Header text
[edit]{{User:Tigerpaw28/Sandbox/Template:CollapseNote|header=Continuity Note|visible=This section is divided by source.|hideable=Events from [[IDW Publishing]] or [[Fun Publications]] books are in italics.}}
Continuity Note : This section is divided by source. Events from IDW Publishing or Fun Publications books are in italics.

