Template:IU-page: Difference between revisions

no edit summary
mNo edit summary
No edit summary
Line 1: Line 1:
<noinclude>This template design running title for page in [[Blavatsky H.P. - Isis Unveiled|“Isis Unveiled”]] by H. P. Blavatsky. It sets property {{p|IU page}}.
<noinclude>{{Style P-No indent|This template provides the link to the page in [[Blavatsky H.P. - Isis Unveiled|“Isis Unveiled”]] by H. P. Blavatsky. Numbers follow first 1877 edition.}}
 
{{Style P-No indent|Link created by semantic query and template:}}
* {{p|HPB Isis Unveiled volume}} – set in template {{t|HPB-IU-header}}
* {{p|Page number}} – set in template {{t|Page}}
* {{t|IU page link}} – design template
 


'''To copy''':
'''To copy''':
<pre>{{IU-page|v=|p=|title=}}</pre>
<pre>{{IU-page|v=|p=|text=}}</pre>
* '''v''' – Volume number
* '''p''' – Page number
* '''title''' – Page running title
 


'''Related templates''':
[[Category:Templates for IU]]
* {{t|Page}}, {{t|Page continues}}, {{t|Page aside}} and {{t|Page aside continues}} -- similar templates with another design, providing visual split of pages
[[Category:Templates for references]]
* {{t|SD-page}} and {{t|BCW-page}} -- crate links to the pages, according to the semantic property set by this template
[[t-ru-lib:Шаблон:РИ-стр]]
</noinclude><includeonly><!--
  set link text; use @@ as a parameter separator
-->{{#if: {{{text|}}}| {{#vardefine:link_text|{{{p|}}}@@{{{text|}}}}} | {{#vardefine:link_text|{{{p|}}}}} }}<!--


[[Category: Design templates]]
  make a request and design the output with template 'IU page link'
[[Category: Templates for templates]]
-->{{#ask: [[HPB Isis Unveiled volume::{{{v|}}}]] [[Page number::{{{p|}}}]]
[[Category: Templates for IU]]
|?HPB Isis Unveiled volume  = volume
</noinclude><includeonly><table style="width: 100%; font-size: 85%; color: grey; border-top: 1px solid grey; margin-top: 1em;">
|?                          = wiki_page
<tr><td>{{{p|}}}<span id="v{{{v|}}}p{{{p|}}}"></span></td>
| link=none
<td><center><span style="font-variant: small-caps;">{{{title|}}}</span></center></td>
| named args=yes
<td><span style="color: white;">{{{p|}}}</span></td><!-- add this field to correct the alignment of page running title -->
| mainlabel=-
</tr></table>{{#set: IU page={{{p|}}} }}
| format=template
</includeonly>
| template=IU page link
| userparam={{#var:link_text}}
}}</includeonly>