Jump to content

Template:Page aside in Path: Difference between revisions

m
Switch marginal label colour from purple to dark green
(Create Page aside in Path, mirroring Page aside in Lucifer for this periodical)
 
m (Switch marginal label colour from purple to dark green)
 
Line 1: Line 1:
<noinclude>This template marks a printed page of ''[[Path, The|The Path]]'' with a light-purple, rounded marginal label. It follows the positioning and semantic-bookmark convention of {{t|Page aside}}, while keeping Path pagination distinct from BCW and other editions.
<noinclude>This template marks a printed page of ''[[Path, The|The Path]]'' with a dark-green, rounded marginal label. It follows the positioning and semantic-bookmark convention of {{t|Page aside}}, while keeping Path pagination distinct from BCW and other editions.


'''Required parameters:''' <code>v</code> (volume), <code>n</code> (issue), <code>p</code> (printed page).
'''Required parameters:''' <code>v</code> (volume), <code>n</code> (issue), <code>p</code> (printed page).
Line 16: Line 16:
[[Category: Semantic templates]]
[[Category: Semantic templates]]
[[Category: Templates for periodicals]]
[[Category: Templates for periodicals]]
</noinclude><includeonly>{{#set: Page number=path_v{{{v}}}_n{{{n}}}_p{{{p}}}{{#if: {{{item|}}}|_{{{item}}}|}}}}<span class="page-aside-in-path" id="path_v{{{v}}}_n{{{n}}}_p{{{p}}}{{#if: {{{item|}}}|_{{{item}}}|}}" title="The Path, vol. {{{v}}}, No. {{{n}}}, p. {{{p}}}" style="position: absolute; left: 0; min-width: 2em; text-indent: 0; color: #62447e; background: #eee4f7; font-weight: bold; font-size: 80%; padding: 0 4px; float: left; margin: 1px 5px 1px -40px; border: 1px solid #bda2d8; border-radius: 5px;">{{{p}}}</span></includeonly>
</noinclude><includeonly>{{#set: Page number=path_v{{{v}}}_n{{{n}}}_p{{{p}}}{{#if: {{{item|}}}|_{{{item}}}|}}}}<span class="page-aside-in-path" id="path_v{{{v}}}_n{{{n}}}_p{{{p}}}{{#if: {{{item|}}}|_{{{item}}}|}}" title="The Path, vol. {{{v}}}, No. {{{n}}}, p. {{{p}}}" style="position: absolute; left: 0; min-width: 2em; text-indent: 0; color: #1e5631; background: #e2f0e5; font-weight: bold; font-size: 80%; padding: 0 4px; float: left; margin: 1px 5px 1px -40px; border: 1px solid #9fcdae; border-radius: 5px;">{{{p}}}</span></includeonly>