Template:Article: Difference between revisions

Probably can cut this bit. Also fix.
(setting up syndication)
(Probably can cut this bit. Also fix.)
Line 37: Line 37:
<ul style="list-style: none; text-indent: 0; padding: 0; margin: 0;">
<ul style="list-style: none; text-indent: 0; padding: 0; margin: 0;">
<li>{{#if:{{{user|}}} | {{#switch:{{{type|news}}} |
<li>{{#if:{{{user|}}} | {{#switch:{{{type|news}}} |
syndicated=Article by <span class="plainlinks">[{{{userlink}}} {{{username}}}]</span> |
syndicated=Article by <span class="plainlinks">[{{{userlink}}} {{{user}}}]</span> |
column|op-column=Column by [[{{{userlink}}}|{{{user}}}]] |
column|op-column=Column by [[{{{userlink}}}|{{{user}}}]] |
opinion=Opinion by [[{{{userlink}}}|{{{user}}}]] |
opinion=Opinion by [[{{{userlink}}}|{{{user}}}]] |
editorial=Editorial by [[{{{userlink}}}|{{{user}}}]] |
editorial=Editorial by [[{{{userlink}}}|{{{user}}}]] |
Reported on Bulbanews by [[{{{userlink}}}|{{{user}}}]]}} {{#switch:{{{sourcetype}}} |
Reported on Bulbanews by [[{{{userlink}}}|{{{user}}}]]}} {{#switch:{{{sourcetype}}} |
pressrelease|othersite|magazine=<br/>{{source/{{{sourcetype}}}|1={{{sourcename}}}|2={{{sourcelink}}}}} | syndicated=Originally published on <span class="plainlinks">[{{{sourcelink}}} {{{sourcename}}}]</span> | none=<br/>{{color|{{red color}}|No source supplied}} | }} | {{Source/{{{sourcetype}}}|1={{{sourcename}}}|2={{{sourcelink}}}}}}}{{#if: {{{publisher|}}}|<br/>Edited by [[User:{{{publisher}}}|{{{publisher}}}]]|}}</li>
pressrelease|othersite|magazine=<br/>{{source/{{{sourcetype}}}|1={{{sourcename}}}|2={{{sourcelink}}}}} | syndicated= | none=<br/>{{color|{{red color}}|No source supplied}} | }} | {{Source/{{{sourcetype}}}|1={{{sourcename}}}|2={{{sourcelink}}}}}}}{{#if: {{{publisher|}}}|<br/>Edited by [[User:{{{publisher}}}|{{{publisher}}}]]|}}</li>
</ul><br/>
</ul><br/>
{| width="100%" style="background:transparent"
{| width="100%" style="background:transparent"