Bureaucrats, Interface administrators, Administrators (Semantic MediaWiki), Curators (Semantic MediaWiki), Editors (Semantic MediaWiki), Suppressors, Administrators, trusted
17,540
edits
(+ability to pass v:p and page range) |
mNo edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 10: | Line 10: | ||
</pre> | </pre> | ||
* '''unnamed parameter''' should be in format: '''Volume:Page''' or '''Volume:FirstPage-LastPage''' | * '''unnamed parameter''' should be in format: '''Volume:Page''' (2:44) or '''Volume:FirstPage-LastPage''' (1:112-5) | ||
* If parameter '''text''' omitted then shown text will be created as such: '''SB 3:192'''. | * If parameter '''text''' omitted then shown text will be created as such: '''SB 3:192'''. | ||
{| class="wikitable" | |||
{| class="wikitable" | |+ Examples | ||
|- | |- | ||
! Wiki text | ! Wiki text | ||
| Line 37: | Line 37: | ||
|} | |} | ||
[[Category:Templates for | |||
[[Category:Templates for references]] | '''Related templates''': | ||
* {{t|SB add link}} – convert text in format Volume:Page into link. | |||
{{Page/doc}} | |||
[[Category: Templates for HPB SB]] | |||
[[Category: Templates for references]] | |||
</noinclude><includeonly>{{#vardefine:volume|{{{v|}}}}}{{#vardefine:pages|{{{p|}}}}}<!-- | </noinclude><includeonly>{{#vardefine:volume|{{{v|}}}}}{{#vardefine:pages|{{{p|}}}}}<!-- | ||
redefine variables if unnamed parameter is not empty; split string '3:258-61' | redefine variables if unnamed parameter is not empty; split string '3:258-61' | ||