Plain sister
Jump to navigation
Jump to search
m |
m (Reverted edits by Billinghurst (talk) to last revision by George Orwell III) |
||
Line 1: | Line 1: | ||
− | <includeonly><ul id="plainSister" style="display:inline-block; font-size:93%; line-height:normal; list-style-type:none; list-style-image:none; list-style-position:outside; border:1px solid #AAA; float:right; clear:right; margin:0.5ex 0.5ex 0.5ex 0.5ex; padding:0.0ex 0.0ex 0.0ex 0.0ex; background:#FFFFFF; background-color:#FFFFFF;"><!-- | + | <includeonly><ul id="plainSister" style="display:inline-block; font-size:93%; line-height:normal; list-style-type:none; list-style-image:none; list-style-position:outside; border:1px solid #AAA; float:right; clear:right; margin:0.5ex 0.5ex 0.5ex 0.5ex; padding:0.0ex 0.0ex 0.0ex 0.0ex; background:#FFFFFF; background-color:#FFFFFF;"><!-- |
Only show disambiguation text if the disambiguation parameter is called | Only show disambiguation text if the disambiguation parameter is called | ||
− | -->{{#if:{{{disambiguation|}}} | + | -->{{#if:{{{disambiguation|}}}<!-- |
− | |<!-- | + | -->|<!-- |
Search text for disambiguation pages begins | Search text for disambiguation pages begins | ||
− | -->[[ | + | --><li class="dabitem"><span class="dabicon" style="padding-right:1ex;">[[Image:Disambiguation.svg|frameless|17px|link=WS:STYLE#Disambiguation.2C_versions_and_translations_pages|alt=Style Guide for disambiguation, version and translation pages.]]</span>Search for titles {{intitle|"{{PAGENAME}}"|containing}} or {{#ifeq:{{NAMESPACE}}|Category|[[Special:Categories/{{PAGENAME}}|beginning]], |[[Special:PrefixIndex/{{FULLPAGENAME}}|beginning{{#ifeq:{{NAMESPACE}}|{{ns:0}}|| (in {{NAMESPACE}}s)}}]]}} with: "{{PAGENAME}}." </li><!-- |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
End of disambiguation #if | End of disambiguation #if | ||
Line 28: | Line 20: | ||
End of edition #if | End of edition #if | ||
− | -->}}<!-- | + | -->}}<!-- |
Only show portals if the portal parameter is called | Only show portals if the portal parameter is called | ||
− | -->{{#if:{{{portal|}}} | + | -->{{#if:{{{portal|}}}<!-- |
− | |<!-- | + | -->|<!-- |
Begin portal content | Begin portal content | ||
− | -->[[ | + | --><li class="sisitem"><span class="sisicon" style="padding-right:1ex;">[[Image:Wikisource-logo.svg|frameless|17px|link=Portal:Portals|alt=Related Portals.]]</span>[[Portal:Portals|related portals]]: <!-- |
1st link: | 1st link: | ||
Line 42: | Line 34: | ||
2nd link: | 2nd link: | ||
− | -->{{#if:{{#titleparts:{{{portal|}}}|1|2}}|, [[Portal:{{#titleparts:{{{portal|}}}|1|2}}|{{#titleparts:{{{portal|}}}|1|2}}]]}}<!-- | + | -->{{#if:{{#titleparts:{{{portal|}}}|1|2}}|, [[Portal:{{#titleparts:{{{portal|}}}|1|2}}|{{#titleparts:{{{portal|}}}|1|2}}]]}}<!-- |
3rd link: | 3rd link: | ||
− | -->{{#if:{{#titleparts:{{{portal|}}}|1|3}}|, [[Portal:{{#titleparts:{{{portal|}}}|1|3}}|{{#titleparts:{{{portal|}}}|1|3}}]]}}<!-- | + | -->{{#if:{{#titleparts:{{{portal|}}}|1|3}}|, [[Portal:{{#titleparts:{{{portal|}}}|1|3}}|{{#titleparts:{{{portal|}}}|1|3}}]]}}<!-- |
− | --> | + | 4th link: |
+ | -->{{#if:{{#titleparts:{{{portal|}}}|1|4}}|, [[Portal:{{#titleparts:{{{portal|}}}|1|4}}|{{#titleparts:{{{portal|}}}|1|4}}]]}}<!-- | ||
− | + | 5th link: | |
− | -->{{#if:{{ | + | -->{{#if:{{#titleparts:{{{portal|}}}|1|5}}|, [[Portal:{{#titleparts:{{{portal|}}}|1|5}}|{{#titleparts:{{{portal|}}}|1|5}}]]}}<!-- |
− | | | + | 6th link: |
+ | -->{{#if:{{#titleparts:{{{portal|}}}|1|6}}|, [[Portal:{{#titleparts:{{{portal|}}}|1|6}}|{{#titleparts:{{{portal|}}}|1|6}}]]}}<!-- | ||
− | + | 7th link: | |
− | -->}}<!-- | + | -->{{#if:{{#titleparts:{{{portal|}}}|1|7}}|, [[Portal:{{#titleparts:{{{portal|}}}|1|7}}|{{#titleparts:{{{portal|}}}|1|7}}]]}}<!-- |
+ | |||
+ | 8th link: | ||
+ | -->{{#if:{{#titleparts:{{{portal|}}}|1|8}}|, [[Portal:{{#titleparts:{{{portal|}}}|1|8}}|{{#titleparts:{{{portal|}}}|1|8}}]]}}<!-- | ||
+ | |||
+ | 9th link: | ||
+ | -->{{#if:{{#titleparts:{{{portal|}}}|1|9}}|, [[Portal:{{#titleparts:{{{portal|}}}|1|9}}|{{#titleparts:{{{portal|}}}|1|9}}]]}}<!-- | ||
+ | |||
+ | 10th link: | ||
+ | -->{{#if:{{#titleparts:{{{portal|}}}|1|10}}|, [[Portal:{{#titleparts:{{{portal|}}}|1|10}}|{{#titleparts:{{{portal|}}}|1|10}}]]}}<!-- | ||
+ | |||
+ | -->.</li><!-- | ||
End of portal #if | End of portal #if | ||
-->}}<!-- | -->}}<!-- | ||
− | Only show | + | Only show related_authors if the related_author parameter is called |
− | -->{{#if:{{{related_author|}}} | + | -->{{#if:{{{related_author|}}}<!-- |
− | |<!-- | + | -->|<!-- |
− | Begin | + | Begin related authors content |
− | -->[[ | + | --><li class="sisitem"><span class="sisicon" style="padding-right:1ex;">[[Image:System-users.svg|frameless|17px|link=Wikisource:Authors|alt=Related Authors.]]</span>[[Wikisource:Authors|related authors]]: <!-- |
1st link: | 1st link: | ||
Line 72: | Line 77: | ||
2nd link: | 2nd link: | ||
− | -->{{#if:{{#titleparts:{{{related_author|}}}|1|2}}|, [[Author:{{#titleparts:{{{related_author|}}}|1|2}}|{{#titleparts:{{{related_author|}}}|1|2}}]]}}<!-- | + | -->{{#if:{{#titleparts:{{{related_author|}}}|1|2}}|, [[Author:{{#titleparts:{{{related_author|}}}|1|2}}|{{#titleparts:{{{related_author|}}}|1|2}}]]}}<!-- |
3rd link: | 3rd link: | ||
− | -->{{#if:{{#titleparts:{{{related_author|}}}|1|3}}|, [[Author:{{#titleparts:{{{related_author|}}}|1|3}}|{{#titleparts:{{{related_author|}}}|1|3}}]]}}<!-- | + | -->{{#if:{{#titleparts:{{{related_author|}}}|1|3}}|, [[Author:{{#titleparts:{{{related_author|}}}|1|3}}|{{#titleparts:{{{related_author|}}}|1|3}}]]}}<!-- |
− | -->.<!-- | + | -->.</li><!-- |
− | + | End of related_authors #if | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | End of | ||
-->}}<!-- | -->}}<!-- | ||
Show sisters, if any | Show sisters, if any | ||
− | -->{{# | + | -->{{#invoke:Plain sister|interprojetPart}}<!-- |
− | + | Only show wikidatasearch if the wikidataswitch parameter is called (ie. if the switch is "turned on") | |
− | + | -->{{#if:{{{wikidataswitch|}}}<!-- | |
− | |||
− | + | -->|<!-- | |
− | |||
− | + | Only show wikidata search if not connected to that project already | |
− | -->{{# | + | -->{{#ifeq:{{#invoke:Wikibase|id}}|no entity<!-- |
− | + | -->|<!-- | |
− | --> | ||
− | + | Begin wikidata search content | |
− | + | --><li class="sisitem"><span class="sisicon" style="padding-right:1ex;">[[File:Wikidata-logo.svg|frameless|17px|link=Wikisource:Wikidata|alt=Wikidata.]]</span>[[{{wbreponame}}:{{ns:special}}:{{int:search}}/{{PAGENAME}}|Search Wikidata]].</li><!-- | |
− | + | End of wikidata search #ifeq | |
− | --> | + | -->|}}<!-- |
− | + | End of wikidata switch | |
− | + | -->}}<!-- | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | --></ul></includeonly><noinclude> | |
− | --> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 01:43, 19 August 2019
Lua error in Module:Autotranslate at line 72: No fallback page found for autotranslate (base=i18n, lang=⧼lang⧽).