Template:Subject bar: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Maky
replace hard code for books and portals with the new templates
meta>Maky
re-vamp -- new approach
Line 1: Line 1:
{| width=100% border="0" cellpadding="0" cellspacing="0"
{| class="noprint; navbox" style="background-color: #F9F9F9; border: 1px solid #AAA; clear: both; margin-left: 0px; margin-top: 1em;"
|-
|-
| style="vertical-align:bottom;" | {{Template:Book bar|Lemurs|Subfossil lemurs|Mesozoic mammals of Madagascar}}
| style="border-bottom: 1px solid #AAA; padding: 5px;" |  
|rowspan="2" style="width: 450px;"|
{| width="100%" border=0
{| class="metadata plainlinks mbox-small{{#ifeq:{{lc:{{{position|}}}}}|left|-left}}" style="width: 450px; border:1px solid #aaa; background-color:#f9f9f9; {{{style|}}}"
| width="100pt" rowspan="2" | <span style="font-size:125%;">'''[[Wikipedia:Wikimedia sister projects|Sister Projects]]'''</span>
| style="padding: 5px;" | Find more about '''{{{display|{{{1|{{PAGENAME}}}}}}}}''' on Wikipedia's [[Wikipedia:Wikimedia sister projects|sister projects]]:
|-
|-
| colspan=5 style="margin: auto; text-align: center" | Find more about '''{{{display|{{{1|{{PAGENAME}}}}}}}}''' on Wikipedia's [[Wikipedia:Wikimedia sister projects|sister projects]]:
| align=left | [[File:Commons-logo.svg|30px|link={{sec link image|commons|Special:Search/{{{commons|{{{1|{{PAGENAME}}}}}}}}}}|alt=|Search Commons]]&nbsp;{{sec link auto|commons|Special:Search/{{{commons|{{{1|{{PAGENAME}}}}}}}}|Images and media}} from Commons
|}
|-
|-
{{#ifeq:{{{wikt}}}|no||<!--
| style="border-bottom: 1px solid #AAA; padding: 5px;" |
-->{{!}} [[File:Wiktionary-logo-en.svg|25x25px|link={{sec link image|wikt|Special:Search/{{{wikt|{{{1|{{PAGENAME}}}}}}}}}}|alt=|Search Wiktionary]] {{!}}{{!}} {{sec link auto|wikt|Special:Search/{{{wikt|{{{1|{{PAGENAME}}}}}}}}|Definitions}} from Wiktionary<br />}}
{| width="100%" border=0
|
| width="100pt" rowspan="2" | <span style="font-size:125%;">'''[[Wikipedia:Books|Books]]'''</span>
{{#ifeq:{{{commons}}}|no||<!--
| style="padding: 5px;" | Books are collections of articles that can be downloaded or ordered in print.
-->{{!}} [[File:Commons-logo.svg|25x25px|link={{sec link image|commons|Special:Search/{{{commons|{{{1|{{PAGENAME}}}}}}}}}}|alt=|Search Commons]] {{!}}{{!}} {{sec link auto|commons|Special:Search/{{{commons|{{{1|{{PAGENAME}}}}}}}}|Images and media}} from Commons<br />}}
|-
|-
{{#ifeq:{{{v}}}|no||<!--
| align=left | [[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.]]</span>&nbsp;<span style="font-weight: bold;">'''''[[Book:Lemurs|Lemurs]]''''' &nbsp; &nbsp; [[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.]]</span>&nbsp;<span style="font-weight:bold;">'''''[[Book:Subfossil lemurs|Subfossil lemurs]]''''' &nbsp; &nbsp; [[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.]]</span>&nbsp;<span style="font-weight: bold;">'''''[[Book:Mesozoic mammals of Madagascar|Mesozoic&nbsp;mammals&nbsp;of&nbsp;Madagascar]]'''''
-->{{!}} [[File:Wikiversity-logo-Snorky.svg|25x25px|link={{sec link image|v|Special:Search/{{{v|{{{1|{{PAGENAME}}}}}}}}}}|alt=|Search Wikiversity]] {{!}}{{!}} {{sec link auto|v|Special:Search/{{{v|{{{1|{{PAGENAME}}}}}}}}|Learning resources}} from Wikiversity<br />}}
|}
|
{{#ifeq:{{{n}}}|no||<!--
-->{{!}} [[File:Wikinews-logo.svg|25x25px|link={{sec link image|n|Special:Search/{{{n|{{{1|{{PAGENAME}}}}}}}}}}|alt=|Search Wikinews]] {{!}}{{!}} {{sec link auto|n|Special:Search/{{{n|{{{1|{{PAGENAME}}}}}}}}|News stories}} from Wikinews<br />}}
|-
|-
{{#ifeq:{{{q}}}|no||<!--
| style="padding: 5px;" |  
-->{{!}} [[File:Wikiquote-logo.svg|25x25px|link={{sec link image|q|Special:Search/{{{q|{{{1|{{PAGENAME}}}}}}}}}}|alt=|Search Wikiquote]] {{!}}{{!}} {{sec link auto|q|Special:Search/{{{q|{{{1|{{PAGENAME}}}}}}}}|Quotations}} from Wikiquote<br />}}
{| width="100%" border=0
|
| width="100pt" rowspan="2" | <span style="font-size:125%;">'''[[Portal:Contents/Portals|Portals]]'''</span>
{{#ifeq:{{{s}}}|no||{{#ifeq:{{{author|no}}}|yes|<!--
| style="padding: 5px;" | Portals are pages that enhance access to specific topics or areas.
-->{{!}} [[File:Wikisource-logo.svg|25x25px|link={{sec link image|s|Special:Search/Author:{{{s|{{{1|{{PAGENAME}}}}}}}}}}|alt=|Search Wikisource]] {{!}}{{!}} {{sec link auto|s|Special:Search/Author:{{{s|{{{1|{{PAGENAME}}}}}}}}|Source texts}} from Wikisource<br />
|<!--
-->{{!}} [[File:Wikisource-logo.svg|25x25px|link={{sec link image|s|Special:Search/{{{s|{{{1|{{PAGENAME}}}}}}}}}}|alt=|Search Wikisource]] {{!}}{{!}} {{sec link auto|s|Special:Search/{{{s|{{{1|{{PAGENAME}}}}}}}}|Source texts}} from Wikisource<br />}}}}
|-
|-
{{#ifeq:{{{b}}}|no||<!--
| align=left | [[File:Man of the woods.JPG|32x28px]]</span>&nbsp;<span style="font-weight:bold;">'''''[[Portal:Primates|Primates&nbsp;portal]]''''' &nbsp; &nbsp; [[File:Okapi2.jpg|32x28px]]</span>&nbsp;<span style="font-weight:bold;">'''''[[Portal:Mammals|Mammals&nbsp;portal]]''''' &nbsp; &nbsp; [[File:Flag of Madagascar.svg|32x28px]]</span><span style="font-weight:bold;">'''''[[Portal:Madagascar|Madagascar&nbsp;portal]]'''''
-->{{!}} [[File:Wikibooks-logo.svg|25x25px|link={{sec link image|b|Special:Search/{{{b|{{{1|{{PAGENAME}}}}}}}}}}|alt=|Search Wikibooks]] {{!}}{{!}} {{sec link auto|b|Special:Search/{{{b|{{{1|{{PAGENAME}}}}}}}}|Textbooks}} from Wikibooks<br />}}
|
{{#ifeq:{{{species<includeonly>|no</includeonly>}}}|no||<!--
-->{{!}} [[File:Wikispecies-logo.svg|25x25px|link={{sec link image|species|Special:Search/{{{species<noinclude>|{{{1|{{PAGENAME}}}}}</noinclude>}}}}}|alt=|Search Wikispecies]] {{!}}{{!}} {{sec link auto|species|Special:Search/{{{species<noinclude>|{{{1|{{PAGENAME}}}}}</noinclude>}}}|Species directories {{{species<noinclude>|</noinclude>}}}}} from Wikispecies}}
|}
|}
|-
| style="vertical-align:top;" | {{Template:Portal bar|Primates|Mammals|Madagascar}}
|}
|}

Revision as of 02:07, 1 February 2011