Difference between revisions of "Template:Sister project links"
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> | + | <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;"><!-- | |
− | + | -->Find more about<!-- | |
− | + | --><b style="display:block;">{{{display|{{{1|{{PAGENAME}}}}}}}}</b><!-- | |
− | {{# | + | -->at Wikipedia's [[Wikipedia:Wikimedia sister projects|<span id="sister-projects">sister projects</span>]] |
− | + | </div> | |
− | + | <ul {{#if:{{{collapsible|}}}|class="mw-collapsible-content"}} style="border-top:1px solid #aaa; padding-top: 0.75em;"> | |
− | }} | + | {{#ifeq:{{{wikt|}}}|no|| |
− | + | <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><!-- |
− | + | --><span style="display: inline-block; margin-left: 4px; width: 182px; vertical-align: middle;">[[wikt:{{{wikt|Special:Search/{{{1|{{PAGENAME}}}}}}}}|Definitions]] from Wiktionary</span> | |
− | + | </li> | |
− | + | }}<!-- | |
− | + | -->{{#ifeq:{{{c|{{{commons|}}}}}}|no|| | |
− | + | <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><!-- | |
− | + | --><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> | |
− | + | | | |
− | + | <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><!-- | |
− | + | --><span style="display: inline-block; margin-left: 4px; width: 182px; vertical-align: middle;">[[c:{{{c|{{{commons|Special:Search/{{{1|{{PAGENAME}}}}}}}}}}}|Media]] from Commons</span> | |
− | }} | + | }} |
− | + | </li> | |
− | + | }}<!-- | |
− | + | -->{{#ifeq:{{{n|}}}|no|| | |
− | + | <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><!-- | |
− | + | --><span style="display: inline-block; margin-left: 4px; width: 182px; vertical-align: middle;">[[n:Special:Search/{{{1|{{PAGENAME}}}}}|News]] from Wikinews</span> | |
− | + | </li> | |
− | + | }}<!-- | |
− | + | -->{{#ifeq:{{{q|}}}|no|| | |
− | + | <li style="min-height: 31px;"><!-- | |
− | + | --><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><!-- | |
− | + | --><span style="display: inline-block; margin-left: 4px; width: 182px; vertical-align: middle;">[[q:{{{q|Special:Search/{{{1|{{PAGENAME}}}}}}}}|Quotations]] from Wikiquote</span> | |
− | + | </li> | |
− | + | }}<!-- | |
− | + | -->{{#ifeq:{{{s|}}}|no|| | |
− | + | <li style="min-height: 31px;"><!-- | |
− | + | -->{{#ifeq:{{{author|no}}}|yes| | |
− | + | <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> | |
− | + | | | |
− | + | <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:{{{s|Special:Search/{{{1|{{PAGENAME}}}}}}}}|Texts]] from Wikisource</span> | |
− | + | }} | |
− | + | </li> | |
− | + | }}<!-- | |
− | + | -->{{#ifeq:{{{b|}}}|no|| | |
− | + | <li style="min-height: 31px;"><!-- | |
− | + | --><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><!-- | |
− | + | --><span style="display: inline-block; margin-left: 4px; width: 182px; vertical-align: middle;">[[b:{{{b|Special:Search/{{{1|{{PAGENAME}}}}}}}}|Textbooks]] from Wikibooks</span> | |
− | }} | + | </li> |
− | | | + | }}<!-- |
− | + | -->{{#ifeq: | |
− | + | <!-- Show Wikivoyage if the "voy" parameter is anything other than blank, empty or "no" --> | |
− | + | {{#switch: {{{voy|<noinclude>yes</noinclude>}}} | |
− | + | | | no = false | |
− | + | | #default = true | |
− | + | }} | |
− | + | | true | | |
− | + | <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><!-- | |
− | + | --><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> | |
− | + | </li> | |
− | + | }}<!-- | |
− | + | -->{{#ifeq:{{{v|}}}|no|| | |
− | + | <li style="min-height: 31px;"><!-- | |
− | + | --><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><!-- | |
− | + | --><span style="display: inline-block; margin-left: 4px; width: 182px; vertical-align: middle;">[[v:{{{v|Special:Search/{{{1|{{PAGENAME}}}}}}}}|Learning resources]] from Wikiversity</span> | |
− | + | </li> | |
− | + | }}<!-- | |
− | + | -->{{#ifeq:{{{d|no}}}|no|| | |
− | + | <li style="min-height: 31px;"><!-- | |
− | + | --><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><!-- | |
− | + | --><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> | |
− | + | </li> | |
− | + | }}<!-- | |
− | + | -->{{#ifeq:{{{species|no}}}|no|| | |
− | + | <li style="min-height: 31px;"><!-- | |
− | + | --><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> | |
− | + | }}<!-- | |
− | + | -->{{#ifeq:{{{species_author|no}}}|no|| | |
− | + | <li style="min-height: 31px;"><!-- | |
− | + | --><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> | |
− | + | </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> |