Template:C: Difference between revisions

From The Reed and Rite
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.
m Removed background color to allow dynamic color shift in dark mode.
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><span id="Chapter {{{1}}}"></span></includeonly><noinclude>
<includeonly><span id="Chapter {{{1}}}"></span></includeonly><noinclude>
== Description ==
== Description ==
This template is used to create a hidden anchor for ease of linking to a specific section heading on a [[:Category:Summary|Summary]] page without having to write the entire chapter title.  
This template is used to create a hidden anchor for ease of linking to a specific section heading on a [[:Category:Summary|Summary]] page without having to write the entire chapter title. Particularly when used in conjunction with the {{t|book ref}} template.
:'''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 ''[[{{b|jeml}}]]''.
:'''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 ''[[{{b|jeml}}]]'', as the chapter titles follow an entirely different naming convention which is covered by {{t|Emma ref}}.'''


== Usage ==
== Usage ==
Line 12: Line 12:
!You Get
!You Get
|-
|-
| style="text-align: left; background-color: white;" |<pre>;Plot Summary
| style="text-align: left;" |<pre>;Plot Summary
Previous chapter's plot summary…
Previous chapter's plot summary…


Line 26: Line 26:
Lorem ipsum dolor sit amet…
Lorem ipsum dolor sit amet…
</pre>
</pre>
| style="background-color: white;" |  
|  
;Plot Summary
;Plot Summary
Previous chapter's plot summary…
Previous chapter's plot summary…
Line 41: Line 41:
Lorem ipsum dolor sit amet…
Lorem ipsum dolor sit amet…
|}
|}
== Summaries Using Template ==
:{{for|Special:WhatLinksHere/{{FULLPAGENAME}}|a full listing|here|pre=This list is limited to 100 pages}}
{{Special:WhatLinksHere/{{FULLPAGENAME}}|namespace=100|limit=100}}


[[Category:Navigation]]
[[Category:Navigation]]

Latest revision as of 22:41, 27 May 2025

Description[edit]

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. Particularly when used in conjunction with the {{book ref}} template.

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, as the chapter titles follow an entirely different naming convention which is covered by {{Emma ref}}.

Usage[edit]

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…
Plot Summary

Previous chapter's plot summary…

Chapter Two: The Second Chapter

Characters
  • Character 1
  • Character 2
  • Character 3, etc.
Plot Summary

Lorem ipsum dolor sit amet…

Summaries Using Template[edit]