Cithakan:Plain sister: Béda antarané révisi
Konten dihapus Konten ditambahkan
c change author to related_author to avoid parameter collisions in {{header}}, etc |
Add special parameter & line for disambiguation pages |
||
Larik 2: | Larik 2: | ||
Only show the box if at least one parameter is called |
Only show the box if at least one parameter is called |
||
-->{{#if:{{{wikipedia|}}}{{{commons|}}}{{{commonscat|}}}{{{wikiquote|}}}{{{wikinews|}}}{{{wiktionary|}}}{{{wikibooks|}}}{{{wikiversity|}}}{{{wikispecies|}}}{{{meta|}}}{{{portal|}}}{{{related_author|}}} |
-->{{#if:{{{wikipedia|}}}{{{commons|}}}{{{commonscat|}}}{{{wikiquote|}}}{{{wikinews|}}}{{{wiktionary|}}}{{{wikibooks|}}}{{{wikiversity|}}}{{{wikispecies|}}}{{{meta|}}}{{{portal|}}}{{{related_author|}}}{{{disambiguation|}} |
||
|<div border="0" class="noprint" style="clear:right; border:solid #AAA 1px; margin: 0 0 1em 1em; background:#clear; padding:2px; text-align:left; float:right; font-size:90%;"><!-- |
|<div border="0" class="noprint" style="clear:right; border:solid #AAA 1px; margin: 0 0 1em 1em; background:#clear; padding:2px; text-align:left; float:right; font-size:90%;"><!-- |
||
Only show disambiguation text if the disambiguation parameter is called |
|||
-->{{#if:{{{disambiguation|}}} |
|||
|<!-- |
|||
Search text for disambiguation pages begins |
|||
-->[[File:Disambiguation.svg|17px]] 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}}."<!-- |
|||
Add line break in the case of other parameters being called |
|||
-->{{#if:{{{portal|}}}{{{related_author|}}}{{{wikipedia|}}}{{{commons|}}}{{{commonscat|}}}{{{wikiquote|}}}{{{wikinews|}}}{{{wiktionary|}}}{{{wikibooks|}}}{{{wikiversity|}}}{{{wikispecies|}}}{{{meta|}}} |
|||
|<br /><!-- |
|||
End of line break #if |
|||
-->}}<!-- |
|||
End of disambiguation #if |
|||
-->}}<!-- |
|||
Only show portals if the portal parameter is called |
Only show portals if the portal parameter is called |