Difference between revisions of "Template:Page aside"

From Teopedia library
Jump to navigation Jump to search
(Created page with "<noinclude>This template places book page number with bookmark (anchor) and semantic property {{p|Page number}} for easy references and request. <div style="display: inline; b...")
 
Line 1: Line 1:
<noinclude>This template places book page number with bookmark (anchor) and semantic property {{p|Page number}} for easy references and request. <div style="display: inline; border: 1px solid grey; border-right: 1px solid white; color: grey; padding: 0 3px; position: absolute; left: -40px; text-align: right; font-size: 80%; background: white; font-weight: bold;"><span title="A new page starts at this line">1883</span></div>It has a page running title as an option. See ''[[Blavatsky_H.P._-_Marvellous_Spirit_Manifestations|H.P. Blavatsky Collected Writings]]'' pages for usage examples. See also template {{t|Page}} for alternative design, providing visual split of pages.
+
<noinclude>This template places book page number with bookmark (anchor) and semantic property {{p|Page number}} for easy references and request. It has a page running title as an option. See ''[[Blavatsky_H.P._-_Marvellous_Spirit_Manifestations|H.P. Blavatsky Collected Writings]]'' pages for usage examples. See also template {{t|Page}} for alternative design, providing visual split of pages.
  
  
 
'''Parameters''':
 
'''Parameters''':
 
* 1 -- Page number
 
* 1 -- Page number
* 2 -- Page running title  
+
* 2 -- Page running title  
 +
 
  
 
'''Example''':
 
'''Example''':
<pre>{{Page|ix|Contents}}</pre>
+
<pre>{{Page aside|17|Contents}}</pre>
  
'''Result:'''
+
Here goes a rather long text of the the page 16, to check different window widths, and finaly it ends here. <span style="min-width: 2em; text-indent: 0; border: 1px solid grey; border-right: 1px solid white; color: grey; padding: 0 3px; position: absolute; left: -40px; font-size: 80%; background: white; font-weight: bold; margin-right: 3px;" title="Page 17. Contents">17</span> '''Here''' starts page 17 with the running title "Contents", which can be seen as a pop-up message when mouse moved over page number.
<div style="display: inline; border: 1px solid grey; border-right: 1px solid white; color: grey; padding: 0 3px; position: absolute; left: -40px; text-align: right; font-size: 80%; background: white; font-weight: bold;"><span title="A new page starts at this line">83</span></div>
 
  
 
[[Category: Design templates]]
 
[[Category: Design templates]]
 
[[Category: Semantic templates]]
 
[[Category: Semantic templates]]
 
[[t-ru-lib:Шаблон:Стр сбоку]]
 
[[t-ru-lib:Шаблон:Стр сбоку]]
</noinclude><includeonly>{{#set: Page number={{{1|}}}}}
+
</noinclude><includeonly>{{#set: Page number={{{1|}}}}}<span style="min-width: 2em; text-indent: 0; border: 1px solid grey; border-right: 1px solid white; color: grey; padding: 0 3px; position: absolute; left: -40px; font-size: 80%; background: white; font-weight: bold;" title="Page 17. Contents">17</span></includeonly>
{{Page continues|{{{1|}}}|{{{2|}}}}}
 
</includeonly>
 

Revision as of 11:20, 24 August 2023

This template places book page number with bookmark (anchor) and semantic property [[Page number]] for easy references and request. It has a page running title as an option. See H.P. Blavatsky Collected Writings pages for usage examples. See also template {{Page}} for alternative design, providing visual split of pages.


Parameters:

  • 1 -- Page number
  • 2 -- Page running title


Example:

{{Page aside|17|Contents}}

Here goes a rather long text of the the page 16, to check different window widths, and finaly it ends here. 17 Here starts page 17 with the running title "Contents", which can be seen as a pop-up message when mouse moved over page number.