Difference between revisions of "Template:Wikibooks"

From LIMSWiki
Jump to navigationJump to search
m (1 revision)
 
m (Updated code)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{sister
{{sister
| project = wikibooks
| position = {{{position|}}}
| text = {{#if: {{{2|}}}
| project = wikibooks
  | The Wikibook ''{{sec link auto| wikibooks | {{{1}}} | {{{1}}} }}''
| text     = {{#if:{{{2|}}}|The Wikibook ''[[wikibooks:{{{1}}}|{{{1}}}]]''|Wikibooks}} has {{#if:{{{2|}}}|a page|{{#if:{{{1|}}}|a book|more}}}} on the topic of: '''''{{#if: {{{3|}}}
  | Wikibooks
   | <!-- {{#if:x|}} strips whitespace, to prevent spaces around the slash "/". -->[[wikibooks:{{#if:x| {{{1}}} }}/{{#if:x| {{{2}}} }}|{{{3}}}]]
  }} has {{#if: {{{2|}}}
  | a page
  | {{#if: {{{1|}}}
    | a book
    | more
    }}
  }} on the topic of
<div style="margin-left:10px;">'''''{{#if: {{{3|}}}
   | <!-- {{#if:x|}} strips whitespace, to prevent
        spaces around the slash "/". -->
    {{sec link auto| wikibooks | {{#if:x| {{{1}}} }}/{{#if:x| {{{2}}} }} | {{{3}}} }}
   | {{#if: {{{2|}}}
   | {{#if: {{{2|}}}
     | {{sec link auto| wikibooks | {{#if:x| {{{1}}} }}/{{#if:x| {{{2}}} }} | {{{2}}} }}
     | [[wikibooks:{{#if:x| {{{1}}} }}/{{#if:x| {{{2}}} }}|{{{2}}}]]
     | {{#if: {{{1|}}}
     | {{#if: {{{1|}}}
       | {{sec link auto| wikibooks | {{{1}}} | {{{1}}} }}
       | [[wikibooks:{{{1}}}|{{{1}}}]]
       | {{sec link auto| wikibooks | Special:Search/{{PAGENAME}} | {{PAGENAME}} }}
       | [[wikibooks:Special:Search/{{PAGENAME}}|{{PAGENAME}}]]
       }}
       }}
     }}
     }}
   }}'''''
   }}'''''
}}<noinclude>
}}<noinclude>{{documentation}}<!-- Add categories and interwikis to the /doc sub-page --></noinclude>
 
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>

Latest revision as of 18:42, 3 March 2015

[edit] [purge] Template documentation

This template may be used in articles to provide links to items on Wikibooks that are likely to be useful and/or of interest to the reader.

Usage

{{wikibooks}}
{{wikibooks|Fundamentals of Transportation}}
{{wikibooks
 |1= Fundamentals of Transportation
 |2= Trip Generation
}}
{{wikibooks
 |1= Fundamentals of Transportation
 |2= Trip Generation#Estimating Models
 |3= Estimating Models
}}
{{wikibooks
 |1= Fundamentals of Transportation
 |2= Trip Generation
 |3= first step in the conventional four-step transportation forecasting process
}}
{{wikibooks
 |1= Mathematical Proof
 |2= Methods of Proof/Proof by Contradiction
 |3= Proof by Contradiction
}}

Location

If using a large, graphical template produces odd layout problems, like the excessive white space shown on the right of this screenshot, then switch to a different sister template.

N Do not place this template in a section all by itself.

N Do not place this template in a section containing columns.

This template should normally be placed at the top of the ==External links== section at the end of an article, if the article has a section for external links. If no such section exists, then please place it at the top of the last section in the article.

On disambiguation pages, this template should be listed above other text, but below any cleanup templates, images, infoboxes or navboxes.