Template:Book
From open-support.info
(Difference between revisions)
m |
m |
||
Line 53: | Line 53: | ||
<div id="bookHeaderNavSrc" style="display:none"> | <div id="bookHeaderNavSrc" style="display:none"> | ||
<span class="subpage" style="float:right">{{#if:{{#var:prev}} | <span class="subpage" style="float:right">{{#if:{{#var:prev}} | ||
- | |{{Book/Link|{{#var:prev}}|{{message|Prev|dict=nav|nocat}}}} | | + | |{{Book/Link|< {{#var:prev}}|{{message|Prev|dict=nav|nocat}}}} | |
}}{{#if:{{#titleparts:{{PAGENAME}}|-1}} | }}{{#if:{{#titleparts:{{PAGENAME}}|-1}} | ||
|{{Book/Link|..|{{message|Up|dict=nav|nocat}}}} | | |{{Book/Link|..|{{message|Up|dict=nav|nocat}}}} | | ||
}}{{#if:{{#var:next}} | }}{{#if:{{#var:next}} | ||
- | |{{Book/Link| | + | |{{Book/Link|{{#var:next}}|{{message|Next|dict=nav|nocat}} >}} |
}}</span> | }}</span> | ||
</div> | </div> | ||
Line 71: | Line 71: | ||
|style="width:35%;vertical-align:bottom;text-align:left" |<span class="subpages">{{Book/Link | |style="width:35%;vertical-align:bottom;text-align:left" |<span class="subpages">{{Book/Link | ||
|{{#var:prev}} | |{{#var:prev}} | ||
- | |< {{message|Prev|dict=nav|nocat}} | + | |< {{message|Prev|dict=nav|nocat}} |
}}</span> | }}</span> | ||
|style="width:30%;vertical-align:bottom;text-align:center"|<span class="subpages">{{Book/Link | |style="width:30%;vertical-align:bottom;text-align:center"|<span class="subpages">{{Book/Link | ||
Line 80: | Line 80: | ||
|{{Book/Link | |{{Book/Link | ||
|{{#rel2abs:{{#var:next}}|{{FULLPAGENAME}}}} | |{{#rel2abs:{{#var:next}}|{{FULLPAGENAME}}}} | ||
- | |{{message|Next|dict=nav|nocat}} > | + | |{{message|Next|dict=nav|nocat}} > |
}} | }} | ||
}}</span> | }}</span> |
Revision as of 21:24, 21 April 2011
The results of this template are not shown here.
[edit] [ ] Template documentation
Template:Book – a semantic template to manage a set of sequential pages like a traditional "Book". This is the "Book" template. It should be called in the following format:
{{Book |1= |2= |3= }}
Edit the page to see the template text.
The above documentation is transcluded from Template:Book/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |