Template:C: Difference between revisions
m →Usage |
m Changing language and example to recommend placing the template above the chapter heading to ensure correct linking location on the page on mobile as well as desktop. |
||
| Line 7: | Line 7: | ||
{| style="width: 100%; text-align: left; margin: auto;" class="wikitable" | {| style="width: 100%; text-align: left; margin: auto;" class="wikitable" | ||
|- | |- | ||
! colspan="2" style="text-align: center;" | <span style="font-size: 115%;">Template Usage</span><br><div style="text-align: left;"><span style="font-weight: normal;">Write <code><nowiki>{{c|X}}</nowiki></code>, replacing <code>"X"</code> with the correct chapter number. Place directly | ! colspan="2" style="text-align: center;" | <span style="font-size: 115%;">Template Usage</span><br><div style="text-align: left;"><span style="font-weight: normal;">Write <code><nowiki>{{c|X}}</nowiki></code>, replacing <code>"X"</code> with the correct chapter number. Place directly above the relevant chapter heading.<br><br>When used, it is functionally replacing <code><nowiki>{{c|X}}</nowiki></code> with <code><nowiki><span id="Chapter {{{1}}}"></span></nowiki></code>, where <code>{{{1}}}</code> is the number provided in lieu of <code>X</code>.</span></div> | ||
|- | |- | ||
! width=40%|You Type | ! width=40%|You Type | ||
!You Get | !You Get | ||
|- | |- | ||
| style="text-align: left; background-color: white;" |<pre>== Chapter | | style="text-align: left; background-color: white;" |<pre>;Plot Summary | ||
Previous chapter's plot summary… | |||
{{c|2}} | |||
== Chapter Two: The Second Chapter == | |||
;Characters | ;Characters | ||
{{columns| | {{columns| | ||
| Line 20: | Line 23: | ||
* Character 3, etc. | * Character 3, etc. | ||
}} | }} | ||
;Summary | ;Plot Summary | ||
Lorem ipsum dolor sit amet… | Lorem ipsum dolor sit amet… | ||
</pre> | </pre> | ||
| style="background-color: white;" | | | style="background-color: white;" | | ||
;Plot Summary | |||
Previous chapter's plot summary… | |||
{{c|1}} | {{c|1}} | ||
<span style="display: block; font-size: 1.5em; font-family: Georgia; font-weight: normal; margin-top: 0.7em; border-bottom: 1px solid #a2a9b1;">Chapter Two: The Second Chapter</span> | |||
;Characters | ;Characters | ||
{{columns| | {{columns| | ||
| Line 31: | Line 38: | ||
* Character 3, etc. | * Character 3, etc. | ||
}} | }} | ||
;Summary | ;Plot Summary | ||
Lorem ipsum dolor sit amet… | Lorem ipsum dolor sit amet… | ||
|} | |} | ||
[[Category:Navigation]] | [[Category:Navigation]] | ||
Revision as of 19:42, 22 May 2025
Description
This template is used to create a hidden anchor for ease of linking to a specific section heading on a Summary page without having to write the entire chapter title.
- Note: This template should only be used when chapter titles do not follow the standard naming convention of "Chapter 1", "Chapter 2", etc. It should not be used on any summary pages for The Unselected Journals of Emma M. Lion.
Usage
| Template Usage Write
{{c|X}}, replacing "X" with the correct chapter number. Place directly above the relevant chapter heading.When used, it is functionally replacing {{c|X}} with <span id="Chapter {{{1}}}"></span>, where {{{1}}} is the number provided in lieu of X. | |
|---|---|
| You Type | You Get |
;Plot Summary
Previous chapter's plot summary…
{{c|2}}
== Chapter Two: The Second Chapter ==
;Characters
{{columns|
* Character 1
* Character 2
* Character 3, etc.
}}
;Plot Summary
Lorem ipsum dolor sit amet…
|
Previous chapter's plot summary… Chapter Two: The Second Chapter
Lorem ipsum dolor sit amet… |