Template:Subject bar: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Maky
standardize graphic size
meta>Maky
1st attempt to convert part of the prototype into a functional template
Line 1: Line 1:
{| class="noprint; navbox" style="background-color: #F9F9F9; border: 1px solid #AAA; clear: both; margin-bottom: 1em; margin-top: 1em;"
{| class="noprint; navbox" style="background-color: #F9F9F9; border: 1px solid #AAA; clear: both; margin-bottom: 1em; margin-top: 1em;"
  |-
{{#if:{{{book1|}}}|
  | width="175pt" | <span style="font-size:125%;">'''[[Wikipedia:Books|Books]]'''</span><br><span style="font-size:85%;">View or order collections of articles</span>
  {{!}}-
  |
  {{!}} width="175pt" {{!}} <span style="font-size:125%;">'''[[{{{link}}}{{!}}{{{type}}}s]]'''</span><br><span style="font-size:85%;">{{{text}}}</span>
  {| style="float: left; padding: 0px 5px;"
  {{!}}  
    | [[File:Office-book.svg|30px|link=Wikipedia:Books|alt=A clipart picture of a book.|Books are collections of articles that can be downloaded or ordered in print.]]
    | width="150pt" align="left" | <span style="font-weight: bold;">'''''[[Book:Lemurs|Lemurs]]'''''
  |}


  {| style="float: left; padding: 0px 5px;"
{{#if:{{{book1|}}}|{{User:Visionholder/Template:Subject bar/book|"'''''[[Book:{{{book1}}}{{!}}{{{book1}}}]]'''''"|}}}}
    | [[File:Office-book.svg|30px|link=Wikipedia:Books|alt=A clipart picture of a book.|Books are collections of articles that can be downloaded or ordered in print.]]
{{#if:{{{book2|}}}|{{User:Visionholder/Template:Subject bar/book|"'''''[[Book:{{{book2}}}{{!}}{{{book2}}}]]'''''"|}}}}
    | width="150pt" align="left" | <span style="font-weight:bold;">'''''[[Book:Subfossil lemurs|Subfossil lemurs]]'''''
{{#if:{{{book3|}}}|{{User:Visionholder/Template:Subject bar/book|"'''''[[Book:{{{book3}}}{{!}}{{{book3}}}]]'''''"|}}}}
  |}
{{#if:{{{book4|}}}|{{User:Visionholder/Template:Subject bar/book|"'''''[[Book:{{{book4}}}{{!}}{{{book4}}}]]'''''"|}}}}
{{#if:{{{book5|}}}|{{User:Visionholder/Template:Subject bar/book|"'''''[[Book:{{{book5}}}{{!}}{{{book5}}}]]'''''"|}}}}
{{#if:{{{book6|}}}|{{User:Visionholder/Template:Subject bar/book|"'''''[[Book:{{{book6}}}{{!}}{{{book6}}}]]'''''"|}}}}
{{#if:{{{book7|}}}|{{User:Visionholder/Template:Subject bar/book|"'''''[[Book:{{{book7}}}{{!}}{{{book7}}}]]'''''"|}}}}
{{#if:{{{book8|}}}|{{User:Visionholder/Template:Subject bar/book|"'''''[[Book:{{{book8}}}{{!}}{{{book8}}}]]'''''"|}}}}
{{#if:{{{book9|}}}|{{User:Visionholder/Template:Subject bar/book|"'''''[[Book:{{{book9}}}{{!}}{{{book9}}}]]'''''"|}}}}
{{#if:{{{book10|}}}|{{User:Visionholder/Template:Subject bar/book|"'''''[[Book:{{{book10}}}{{!}}{{{book10}}}]]'''''"|}}}}


  {| style="float: left; padding: 0px 5px;"
{{!}}-
    | [[File:Office-book.svg|30px|link=Wikipedia:Books|alt=A clipart picture of a book.|Books are collections of articles that can be downloaded or ordered in print.]]
  {{!}} colspan="2" {{!}}
    | width="150pt" align="left" | <span style="font-weight: bold;">'''''[[Book:Mesozoic mammals of Madagascar|Mesozoic mammals of Madagascar]]'''''
  |}
|-
| colspan="2" |
-----
-----
|}}
  |-
  |-
  | width="175pt" | <span style="font-size:125%;">'''[[Portal:Contents/Portals|Portals]]'''</span><br><span style="font-size:85%;">Access related topics</span>
  | width="175pt" | <span style="font-size:125%;">'''[[Portal:Contents/Portals|Portals]]'''</span><br><span style="font-size:85%;">Access related topics</span>
Line 25: Line 25:
   {| style="float: left; padding: 0px 5px;"
   {| style="float: left; padding: 0px 5px;"
     | [[File:Man of the woods.JPG|30px]]
     | [[File:Man of the woods.JPG|30px]]
     | width="150pt" align="left" | <span style="font-weight:bold;">'''''[[Portal:Primates|Primates portal]]'''''
     | width="150pt" align="left" | [[Portal:Primates|Primates portal]]
   |}
   |}


   {| style="float: left; padding: 0px 5px;"
   {| style="float: left; padding: 0px 5px;"
     | [[File:Okapi2.jpg|30px]]
     | [[File:Okapi2.jpg|30px]]
     | width="150pt" align="left" | <span style="font-weight:bold;">'''''[[Portal:Mammals|Mammals portal]]'''''
     | width="150pt" align="left" | [[Portal:Mammals|Mammals portal]]
   |}
   |}


   {| style="float: left; padding: 0px 5px;"
   {| style="float: left; padding: 0px 5px;"
     | [[File:Flag of Madagascar.svg|30px]]
     | [[File:Flag of Madagascar.svg|30px]]
     | width="150pt" align="left" | <span style="font-weight:bold;">'''''[[Portal:Madagascar|Madagascar portal]]'''''
     | width="150pt" align="left" | [[Portal:Madagascar|Madagascar portal]]
   |}
   |}
  |-
  |-
Line 44: Line 44:
  |  
  |  
   {| style="float: left; padding: 0px 5px;"
   {| style="float: left; padding: 0px 5px;"
     | [[File:Commons-logo.svg|30px|link={{sec link image|commons|Special:Search/{{{commons|{{{1|{{PAGENAME}}}}}}}}}}|alt=|Search Commons]]
     | [[File:Commons-logo.svg|30px|link={{sec link image|commons|Special:Search/{{{commons|{{{1|{{PAGENAME}}}}}}}}}}|Search Commons]]
     | width="150pt" align="left" | {{sec link auto|commons|Special:Search/{{{commons|{{{1|{{PAGENAME}}}}}}}}|Images and media}}<br>from Commons
     | width="150pt" align="left" | {{sec link auto|commons|Special:Search/{{{commons|{{{1|{{PAGENAME}}}}}}}}|Images and media}}<br>from Commons
   |}
   |}
|}
|}<noinclude>
 
{{Documentation}}
 
</noinclude>

Revision as of 01:40, 2 February 2011