Difference between revisions of "Template:Sister project links"

From Eat Every Plant
Jump to navigation Jump to search
m (1 revision)
 
m (1 revision)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>{| class="metadata plainlinks mbox-small{{#ifeq:{{lc:{{{position|}}}}}|left|-left}} {{#if:{{{collapsible|}}}|mw-collapsible {{#ifeq:{{{collapsible|}}}|collapsed |mw-collapsed}}}}" style="padding:0.25em 0.5em 0.5em 0.75em;border:1px solid #aaa;background:#f9f9f9;{{{style|}}}"
+
<includeonly><div role="navigation" aria-labelledby="sister-projects" class="metadata plainlinks plainlist mbox-small{{#ifeq:{{lc:{{{position|}}}}}|left|-left}} {{#if:{{{collapsible|}}}|mw-collapsible {{#ifeq:{{{collapsible|}}}|collapsed |mw-collapsed}}}}" style="border:1px solid #aaa; padding:0.75em; background:#f9f9f9; {{{style|}}}">
|-
+
    <div style="{{#if:{{{collapsible|}}}|clear: both;}} padding-bottom: 0.75em; text-align: center;"><!--
|colspan="2" style="padding-bottom:0.75em;border-bottom:1px solid #aaa;text-align:center;"| <div style="clear:both;">Find more about<br/>'''{{{display|{{{1|{{PAGENAME}}}}}}}}'''<br />at Wikipedia's [[Wikipedia:Wikimedia sister projects|sister projects]] </div>
+
    -->Find more about<!--
|- style="height:25px;"
+
    --><b style="display:block;">{{{display|{{{1|{{PAGENAME}}}}}}}}</b><!--
{{#ifeq:{{{wikt|}}}|no |
+
    -->at Wikipedia's [[Wikipedia:Wikimedia sister projects|<span id="sister-projects">sister projects</span>]]
| {{!}}style="padding-top:0.75em;"{{!}} [[File:Wiktionary-logo-en.svg|25x25px|link={{fullurl:wikt:{{{wikt|Special:Search/{{{1|{{PAGENAME}}}}}}}}}}|Search Wiktionary]]
+
    </div>
  {{!}}style="padding-top:0.75em;"{{!}} [[wikt:{{{wikt|Special:Search/{{{1|{{PAGENAME}}}}}}}}|Definitions]] from Wiktionary
+
    <ul {{#if:{{{collapsible|}}}|class="mw-collapsible-content"}} style="border-top:1px solid #aaa; padding-top: 0.75em;">
}}
+
        {{#ifeq:{{{wikt|}}}|no||
|- style="height:25px;"
+
            <li style="min-height: 31px;"><!--
{{#ifeq:{{{c|{{{commons|}}}}}}|no |
+
            --><span style="display: inline-block; width: 31px; line-height: 31px; vertical-align: middle; text-align: center;">[[File:Wiktionary-logo-v2.svg|27x27px|middle|link=|alt=]]</span><!--
| {{#ifeq:{{{commonscat|no}}}|yes
+
            --><span style="display: inline-block; margin-left: 4px; width: 182px; vertical-align: middle;">[[wikt:{{{wikt|Special:Search/{{{1|{{PAGENAME}}}}}}}}|Definitions]] from Wiktionary</span>
    | {{!}} [[File:Commons-logo.svg|25x25px|link={{fullurl:c:Special:Search/Category:{{{c|{{{commons|{{{1|{{PAGENAME}}}}}}}}}}}}}|Search Commons]]
+
            </li>
      {{!}} [[c:Special:Search/Category:{{{c|{{{commons|{{{1|{{PAGENAME}}}}}}}}}}}|Media]] from Commons
+
        }}<!--
    | {{!}} [[File:Commons-logo.svg|25x25px|link={{fullurl:c:{{{c|{{{commons|Special:Search/{{{1|{{PAGENAME}}}}}}}}}}}}}|Search Commons]]
+
    -->{{#ifeq:{{{c|{{{commons|}}}}}}|no||
      {{!}} [[c:{{{c|{{{commons|Special:Search/{{{1|{{PAGENAME}}}}}}}}}}}|Media]] from Commons
+
            <li style="min-height: 31px;"><!--
  }}
+
            -->{{#ifeq:{{{commonscat|no}}}|yes|
}}
+
                    <span style="display: inline-block; width: 31px; line-height: 31px; vertical-align: middle; text-align: center;">[[File:Commons-logo.svg|27x27px|middle|link=|alt=]]</span><!--
|- style="height:25px;"
+
                --><span style="display: inline-block; margin-left: 4px; width: 182px; vertical-align: middle;">[[c:Special:Search/Category:{{{c|{{{commons|{{{1|{{PAGENAME}}}}}}}}}}}|Media]] from Commons</span>
{{#ifeq:{{{n|}}}|no |
+
                |
| {{!}} [[File:Wikinews-logo.svg|25x25px|link={{fullurl:n:Special:Search/{{{1|{{PAGENAME}}}}}}}|Search Wikinews]]
+
                    <span style="display: inline-block; width: 31px; line-height: 31px; vertical-align: middle; text-align: center;">[[File:Commons-logo.svg|27x27px|middle|link=|alt=]]</span><!--
  {{!}} [[n:Special:Search/{{{1|{{PAGENAME}}}}}|News stories]] from Wikinews
+
                --><span style="display: inline-block; margin-left: 4px; width: 182px; vertical-align: middle;">[[c:{{{c|{{{commons|Special:Search/{{{1|{{PAGENAME}}}}}}}}}}}|Media]] from Commons</span>
}}
+
                }}
|- style="height:25px;"
+
            </li>
{{#ifeq:{{{q|}}}|no |
+
        }}<!--
| {{!}} [[File:Wikiquote-logo.svg|25x25px|link={{fullurl:q:{{{q|Special:Search/{{{1|{{PAGENAME}}}}}}}}}}|Search Wikiquote]]
+
    -->{{#ifeq:{{{n|}}}|no||
  {{!}} [[q:{{{q|Special:Search/{{{1|{{PAGENAME}}}}}}}}|Quotations]] from Wikiquote
+
            <li style="min-height: 31px;"><!--
}}
+
            --><span style="display: inline-block; width: 31px; line-height: 31px; vertical-align: middle; text-align: center;">[[File:Wikinews-logo.svg|27x27px|middle|link=|alt=]]</span><!--
|- style="height:25px;"
+
            --><span style="display: inline-block; margin-left: 4px; width: 182px; vertical-align: middle;">[[n:Special:Search/{{{1|{{PAGENAME}}}}}|News]] from Wikinews</span>
{{#ifeq:{{{s|}}}|no |
+
            </li>
| {{#ifeq:{{{author|no}}}|yes
+
        }}<!--
    | {{!}} [[File:Wikisource-logo.svg|25x25px|link={{fullurl:s:Special:Search/Author:{{{s|{{{1|{{PAGENAME}}}}}}}}}}|Search Wikisource]]
+
    -->{{#ifeq:{{{q|}}}|no||
      {{!}} [[s:Special:Search/Author:{{{s|{{{1|{{PAGENAME}}}}}}}}|Source texts]] from Wikisource
+
            <li style="min-height: 31px;"><!--
    | {{!}} [[File:Wikisource-logo.svg|25x25px|link={{fullurl:s:{{{s|Special:Search/{{{1|{{PAGENAME}}}}}}}}}}|Search Wikisource]]
+
            --><span style="display: inline-block; width: 31px; line-height: 31px; vertical-align: middle; text-align: center;">[[File:Wikiquote-logo.svg|27x27px|middle|link=|alt=]]</span><!--
      {{!}} [[s:{{{s|Special:Search/{{{1|{{PAGENAME}}}}}}}}|Source texts]] from Wikisource
+
            --><span style="display: inline-block; margin-left: 4px; width: 182px; vertical-align: middle;">[[q:{{{q|Special:Search/{{{1|{{PAGENAME}}}}}}}}|Quotations]] from Wikiquote</span>
  }}
+
            </li>
}}
+
        }}<!--
|- style="height:25px;"
+
    -->{{#ifeq:{{{s|}}}|no||
{{#ifeq:{{{b|}}}|no |
+
            <li style="min-height: 31px;"><!--
| {{!}} [[File:Wikibooks-logo.svg|25x25px|link={{fullurl:b:{{{b|Special:Search/{{{1|{{PAGENAME}}}}}}}}}}|Search Wikibooks]]
+
            -->{{#ifeq:{{{author|no}}}|yes|
  {{!}} [[b:{{{b|Special:Search/{{{1|{{PAGENAME}}}}}}}}|Textbooks]] from Wikibooks
+
                    <span style="display: inline-block; width: 31px; line-height: 31px; vertical-align: middle; text-align: center;">[[File:Wikisource-logo.svg|27x27px|middle|link=|alt=]]</span><!--
}}
+
                --><span style="display: inline-block; margin-left: 4px; width: 182px; vertical-align: middle;">[[s:Special:Search/Author:{{{s|{{{1|{{PAGENAME}}}}}}}}|Texts]] from Wikisource</span>
|- style="height:25px;"
+
                |
{{#ifeq:
+
                    <span style="display: inline-block; width: 31px; line-height: 31px; vertical-align: middle; text-align: center;">[[File:Wikisource-logo.svg|27x27px|middle|link=|alt=]]</span><!--
  <!-- Show Wikivoyage if the "voy" parameter is anything other than blank, empty or "no" -->
+
                --><span style="display: inline-block; margin-left: 4px; width: 182px; vertical-align: middle;">[[s:{{{s|Special:Search/{{{1|{{PAGENAME}}}}}}}}|Texts]] from Wikisource</span>
  {{#switch: {{{voy|<noinclude>yes</noinclude>}}}
+
                }}
    | | no    = false
+
            </li>
    | #default = true
+
        }}<!--
  }}
+
    -->{{#ifeq:{{{b|}}}|no||
| true
+
            <li style="min-height: 31px;"><!--
| {{!}} [[File:Wikivoyage-Logo-v3-icon.svg|25x25px|link={{fullurl:voy:{{{voy|Special:Search/{{{1|{{PAGENAME}}}}}}}}}}|Search Wikivoyage]]
+
            --><span style="display: inline-block; width: 31px; line-height: 31px; vertical-align: middle; text-align: center;">[[File:Wikibooks-logo.svg|27x27px|middle|link=|alt=]]</span><!--
  {{!}} [[voy:{{{voy|Special:Search/{{{1|{{PAGENAME}}}}}}}}|Travel {{#if: {{{voy|}}}| guide| information}}]] from Wikivoyage
+
            --><span style="display: inline-block; margin-left: 4px; width: 182px; vertical-align: middle;">[[b:{{{b|Special:Search/{{{1|{{PAGENAME}}}}}}}}|Textbooks]] from Wikibooks</span>
}}
+
            </li>
|- style="height:25px;"
+
        }}<!--
{{#ifeq:{{{v|}}}|no |
+
    -->{{#ifeq:
| {{!}} [[File:Wikiversity-logo-Snorky.svg|25x25px|link={{fullurl:v:{{{v|Special:Search/{{{1|{{PAGENAME}}}}}}}}}}|Search Wikiversity]]
+
            <!-- Show Wikivoyage if the "voy" parameter is anything other than blank, empty or "no" -->
  {{!}} [[v:{{{v|Special:Search/{{{1|{{PAGENAME}}}}}}}}|Learning resources]] from Wikiversity
+
            {{#switch: {{{voy|<noinclude>yes</noinclude>}}}
}}
+
            | | no    = false
|- style="height:25px;"
+
            | #default = true
{{#ifeq:{{{d|no}}}|no |
+
            }}
| {{!}} [[File:Wikidata-logo.svg|25x25px|link={{fullurl:d:{{{d<noinclude>|Special:ItemByTitle/enwiki/{{{1|{{PAGENAME}}}}}</noinclude>}}}}}|Search Wikidata]]
+
            | true |
  {{!}} [[d:{{{d<noinclude>|{{{1|Special:ItemByTitle/enwiki/{{PAGENAME}}}}}</noinclude>}}}|Data]] from Wikidata
+
            <li style="min-height: 31px;"><!--
}}
+
            --><span style="display: inline-block; width: 31px; line-height: 31px; vertical-align: middle; text-align: center;">[[File:Wikivoyage-Logo-v3-icon.svg|27x27px|middle|link=|alt=]]</span><!--
|- style="height:25px;"
+
            --><span style="display: inline-block; margin-left: 4px; width: 182px; vertical-align: middle;">[[voy:{{#if:{{{voy|}}}|{{{voy}}}#{{#invoke:Wikidata|pageId}}|Special:Search/{{{1|{{PAGENAME}}}}}}}|Travel {{#if: {{{voy|}}}| guide| information}}]] from Wikivoyage</span>
{{#ifeq:{{{species|no}}}|no |
+
            </li>
| {{!}} [[File:Wikispecies-logo.svg|25x25px|link={{fullurl:species:{{{species<noinclude>|Special:Search/{{{1|{{PAGENAME}}}}}</noinclude>}}}}}|Search Wikispecies]]
+
        }}<!--
  {{!}} [[species:{{{species<noinclude>|Special:Search/{{{1|{{PAGENAME}}}}}</noinclude>}}}|Taxonomy]] from Wikispecies
+
    -->{{#ifeq:{{{v|}}}|no||
}}
+
            <li style="min-height: 31px;"><!--
|- style="height:25px;"
+
            --><span style="display: inline-block; width: 31px; line-height: 31px; vertical-align: middle; text-align: center;">[[File:Wikiversity-logo-Snorky.svg|27x27px|middle|link=|alt=]]</span><!--
{{#ifeq:{{{species_author|no}}}|no |
+
            --><span style="display: inline-block; margin-left: 4px; width: 182px; vertical-align: middle;">[[v:{{{v|Special:Search/{{{1|{{PAGENAME}}}}}}}}|Learning resources]] from Wikiversity</span>
| {{!}} [[File:Wikispecies-logo.svg|25x25px|link={{fullurl:species:{{{species_author<noinclude>|Special:Search/{{{1|{{PAGENAME}}}}}</noinclude>}}}}}|Search Wikispecies]]
+
            </li>
  {{!}} [[species:{{{species_author<noinclude>|Special:Search/{{{1|{{PAGENAME}}}}}</noinclude>}}}|Species author {{{species_author<noinclude>|</noinclude>}}}]] on Wikispecies
+
        }}<!--
}}
+
    -->{{#ifeq:{{{d|no}}}|no||
|- style="height:25px;"
+
            <li style="min-height: 31px;"><!--
{{#if:{{{m|}}}|
+
            --><span style="display: inline-block; width: 31px; line-height: 31px; vertical-align: middle; text-align: center;">[[File:Wikidata-logo.svg|27x27px|middle|link=|alt=]]</span><!--
{{#switch:{{lc:{{{m}}}}}
+
            --><span style="display: inline-block; margin-left: 4px; width: 182px; vertical-align: middle;">[[d:{{{d<noinclude>|{{{1|Special:ItemByTitle/enwiki/{{PAGENAME}}}}}</noinclude>}}}|Data]] from Wikidata</span>
  |yes = {{!}}<noinclude>|</noinclude> [[File:Wikimedia Community Logo.svg|25x25px|link={{fullurl:n:Special:Search/{{{1|{{PAGENAME}}}}}}}|Search Meta-Wiki]]
+
            </li>
  {{!}}<noinclude>|</noinclude> [[m:Special:Search/{{{1|{{PAGENAME}}}}}|Discussion]] from Meta-Wiki
+
        }}<!--
  |no =
+
    -->{{#ifeq:{{{species|no}}}|no||
  |{{!}} [[File:Wikimedia Community Logo.svg|25x25px|link={{fullurl:m:{{{m}}}}}|Search Meta-Wiki]]
+
            <li style="min-height: 31px;"><!--
  {{!}} [[m:{{{m}}}|Discussion]] from Meta-Wiki
+
            --><span style="display: inline-block; width: 31px; line-height: 31px; vertical-align: middle; text-align: center;">[[File:Wikispecies-logo.svg|27x27px|middle|link=|alt=]]</span><!--
}}
+
            --><span style="display: inline-block; margin-left: 4px; width: 182px; vertical-align: middle;">[[species:{{{species<noinclude>|Special:Search/{{{1|{{PAGENAME}}}}}</noinclude>}}}|Taxonomy]] from Wikispecies</span>
}}
+
            </li>
|- style="height:25px;"
+
        }}<!--
{{#ifeq:{{{mw|no}}}|no |
+
    -->{{#ifeq:{{{species_author|no}}}|no||
| {{!}} [[File:MediaWiki-logo.svg|25x25px|link={{fullurl:mw:{{{mw<noinclude>|Special:Search/{{{1|{{PAGENAME}}}}}</noinclude>}}}}}|Search MediaWiki]]
+
            <li style="min-height: 31px;"><!--
  {{!}} [[mw:{{{mw<noinclude>|{{{1|Special:Search/{{PAGENAME}}}}}</noinclude>}}}|Documentation]] from MediaWiki
+
            --><span style="display: inline-block; width: 31px; line-height: 31px; vertical-align: middle; text-align: center;">[[File:Wikispecies-logo.svg|27x27px|middle|link=|alt=]]</span><!--
}}
+
            --><span style="display: inline-block; margin-left: 4px; width: 182px; vertical-align: middle;">[[species:{{{species_author<noinclude>|Special:Search/{{{1|{{PAGENAME}}}}}</noinclude>}}}|Species author {{{species_author<noinclude>|</noinclude>}}}]] on Wikispecies</span>
|}</includeonly><noinclude>
+
            </li>
 +
        }}<!--
 +
    -->{{#ifeq:{{lc:{{{m|no}}}}}|no||
 +
            <li style="min-height: 31px;"><!--
 +
            -->{{#ifeq:{{lc:{{{m}}}}}|yes|
 +
                    <span style="display: inline-block; width: 31px; line-height: 31px; vertical-align: middle; text-align: center;">[[File:Wikimedia Community Logo.svg|27x27px|middle|link=|alt=]]</span><!--
 +
                --><span style="display: inline-block; margin-left: 4px; width: 182px; vertical-align: middle;">[[m:Special:Search/{{{1|{{PAGENAME}}}}}|Discussion]] from Meta-Wiki</span>
 +
                |
 +
                    <span style="display: inline-block; width: 31px; line-height: 31px; vertical-align: middle; text-align: center;">[[File:Wikimedia Community Logo.svg|27x27px|middle|link=|alt=]]</span><!--
 +
                --><span style="display: inline-block; margin-left: 4px; width: 182px; vertical-align: middle;">[[m:{{{m}}}|Discussion]] from Meta-Wiki</span>
 +
                }}
 +
            </li>
 +
        }}<!--
 +
    -->{{#ifeq:{{{mw|no}}}|no||
 +
            <li style="min-height: 31px;"><!--
 +
            --><span style="display: inline-block; width: 31px; line-height: 31px; vertical-align: middle; text-align: center;">[[File:MediaWiki-logo.svg|27x27px|middle|link=|alt=]]</span><!--
 +
            --><span style="display: inline-block; margin-left: 4px; width: 182px; vertical-align: middle;">[[mw:{{{mw<noinclude>|{{{1|Special:Search/{{PAGENAME}}}}}</noinclude>}}}|Documentation]] from MediaWiki</span>
 +
            </li>
 +
        }}
 +
    </ul>
 +
</div></includeonly><noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 19:01, 14 September 2017

Template documentation[create]