Template:Plain sister: Difference between revisions
Appearance
Content deleted Content added
Spangineer (talk | contribs) add functionality for showing portals |
Spangineer (talk | contribs) update to use one parameter, "portal" |
||
| Line 2: | Line 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|}}}{{{ |
-->{{#if:{{{wikipedia|}}}{{{commons|}}}{{{commonscat|}}}{{{wikiquote|}}}{{{wikinews|}}}{{{wiktionary|}}}{{{wikibooks|}}}{{{wikiversity|}}}{{{wikispecies|}}}{{{meta|}}}{{{portal|}}} |
||
|<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 portals if |
Only show portals if the portal parameter is called |
||
-->{{#if:{{{ |
-->{{#if:{{{portal|}}} |
||
|<!-- |
|<!-- |
||
| Line 15: | Line 15: | ||
1st link: |
1st link: |
||
-->{{#if:{{{ |
-->{{#if:{{#titleparts:{{{portal|}}}|1|1}}|[[Portal:{{#titleparts:{{{portal|}}}|1|1}}|{{#titleparts:{{{portal|}}}|1|1}}]]}}<!-- |
||
2nd link: |
2nd link: |
||
-->{{#if:{{{ |
-->{{#if:{{#titleparts:{{{portal|}}}|1|2}}|, [[Portal:{{#titleparts:{{{portal|}}}|1|2}}|{{#titleparts:{{{portal|}}}|1|2}}]]}}<!-- |
||
3rd link: |
3rd link: |
||
-->{{#if:{{{ |
-->{{#if:{{#titleparts:{{{portal|}}}|1|3}}|, [[Portal:{{#titleparts:{{{portal|}}}|1|3}}|{{#titleparts:{{{portal|}}}|1|3}}]]}}<!-- |
||
-->.<!-- |
-->.<!-- |
||