Cithakan:Plain sister: Béda antarané révisi

Konten dihapus Konten ditambahkan
c add author parameter to list at beginning to allow the template to show up when only an author is given
c change author to related_author to avoid parameter collisions in {{header}}, etc
Larik 2:
 
Only show the box if at least one parameter is called
-->{{#if:{{{wikipedia|}}}{{{commons|}}}{{{commonscat|}}}{{{wikiquote|}}}{{{wikinews|}}}{{{wiktionary|}}}{{{wikibooks|}}}{{{wikiversity|}}}{{{wikispecies|}}}{{{meta|}}}{{{portal|}}}{{{authorrelated_author|}}}
 
|<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%;"><!--
Larik 26:
 
Add line break in the case of sisters
-->{{#if:{{{authorrelated_author|}}}{{{wikipedia|}}}{{{commons|}}}{{{commonscat|}}}{{{wikiquote|}}}{{{wikinews|}}}{{{wiktionary|}}}{{{wikibooks|}}}{{{wikiversity|}}}{{{wikispecies|}}}{{{meta|}}}
 
|<br /><!--
Larik 37:
 
Only show authors if the author parameter is called
-->{{#if:{{{authorrelated_author|}}}
 
|<!--
Larik 45:
 
1st link:
-->{{#if:{{#titleparts:{{{authorrelated_author|}}}|1|1}}|[[Author:{{#titleparts:{{{authorrelated_author|}}}|1|1}}|{{#titleparts:{{{authorrelated_author|}}}|1|1}}]]}}<!--
 
2nd link:
-->{{#if:{{#titleparts:{{{authorrelated_author|}}}|1|2}}|, [[Author:{{#titleparts:{{{authorrelated_author|}}}|1|2}}|{{#titleparts:{{{authorrelated_author|}}}|1|2}}]]}}<!--
 
3rd link:
-->{{#if:{{#titleparts:{{{authorrelated_author|}}}|1|3}}|, [[Author:{{#titleparts:{{{authorrelated_author|}}}|1|3}}|{{#titleparts:{{{authorrelated_author|}}}|1|3}}]]}}<!--
 
-->.<!--