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. |
| | | |
| | | |
| '''Parameters''': | | '''Parameters''': |
− | * 1 -- Page number | + | * '''1''' -- page number |
− | * 2 -- Page running title | + | * '''2''' -- page running title (optional) |
| + | |
| + | |
| + | In case if one article ends and another one starts on the same page and those articles goes to the different wiki pages, use {{t|Page aside}} when the page actually begins and {{t|Page aside continues}} in the beginning of the next article. See BCW, vol. 1, p. 36, where article “[[Blavatsky H.P. - Marvellous Spirit Manifestations|Marvellous Spirit Manifestations]]” ends and [[Blavatsky H.P. - About Spiritualism|About Spiritualism]] starts. In the former case the plain anchor “36” will be placed, and for the latter the parameter item should be set to “2”, so the anchor will be: “36_2”. |
| + | |
| | | |
| '''Example''': | | '''Example''': |
− | <pre>{{Page|ix|Contents}}</pre> | + | <pre> |
| + | {{Page aside|17}} |
| + | {{Page aside|17|Table of 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; color: grey; background: white; font-weight: bold; font-size: 80%; padding: 0 3px; float: left; margin: 1px 5px 1px -40px; border-top: 1px solid grey; border-left: 1px solid grey; border-bottom: 1px solid grey;" title="Page 17. Table of contents">17</span> '''Here''' starts page 17 with the running title "Table of 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> | + | |
| + | ---- |
| + | {{Page/doc}} |
| | | |
| [[Category: Design templates]] | | [[Category: Design templates]] |
| [[Category: Semantic templates]] | | [[Category: Semantic templates]] |
| + | [[Category: Templates for HPB CW]] |
| + | |
| [[t-ru-lib:Шаблон:Стр сбоку]] | | [[t-ru-lib:Шаблон:Стр сбоку]] |
− | </noinclude><includeonly>{{#set: Page number={{{1|}}}}} | + | </noinclude><includeonly>{{#set: Page number={{{1|}}}}}<span style="position: absolute; left: 0; min-width: 2em; text-indent: 0; color: grey; background: white; font-weight: bold; font-size: 80%; padding: 0 3px; float: left; margin: 1px 5px 1px -40px; border-top: 1px solid grey; border-left: 1px solid grey; border-bottom: 1px solid grey;" id="{{{1|}}}" title="Page {{{1|}}}{{#if: {{{2|}}}|. {{{2}}}|}}">{{{1|}}}</span></includeonly> |
− | {{Page continues|{{{1|}}}|{{{2|}}}}} | |
− | </includeonly> | |