Template:Page: Difference between revisions

m
+show
No edit summary
m (+show)
Line 6: Line 6:


'''Parameters''':
'''Parameters''':
* 1 -- Page number
* 1 -- Page number and a bookmark
* 2 -- Page running title
* 2 -- Page running title
* '''show''' -- show this page number and use first parameter as a bookmark only


'''Example''':
'''Example''':
<pre>{{Page|ix|Contents}}</pre>
<pre>{{Page|ix|Contents}}
{{Page|9|Contents|show=ix}}
</pre>


'''Result:'''
'''Result:'''
Line 24: Line 27:
[[t-ru-lib:Шаблон:Стр]]
[[t-ru-lib:Шаблон:Стр]]
</noinclude><includeonly>{{#set: Page number={{{1|}}}}}
</noinclude><includeonly>{{#set: Page number={{{1|}}}}}
{{Page continues|{{{1|}}}|{{{2|}}}}}
{{Page continues|{{{1|}}}|{{{2|}}}|show={{{show|}}}}}
</includeonly>
</includeonly>