Template:Article: Difference between revisions

setting up syndication
(Okay I think I have it)
(setting up syndication)
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> |
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}}}}} | 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=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>
</ul><br/>
</ul><br/>
{| width="100%" style="background:transparent"
{| width="100%" style="background:transparent"
Line 52: Line 53:
feature=E6E8FA |
feature=E6E8FA |
local=FEE8D6 |
local=FEE8D6 |
column|op-column=E3B89B |
syndicated|column|op-column=E3B89B |
opinion=DDA0DD |
opinion=DDA0DD |
editorial=B9D3EE |
editorial=B9D3EE |
Line 66: Line 67:
feature=EEB422 |
feature=EEB422 |
local=E3701A |
local=E3701A |
column|op-column=986C4F |
syndicated|column|op-column=986C4F |
opinion=68228B |
opinion=68228B |
editorial=4372AA |
editorial=4372AA |
Line 81: Line 82:
feature=385Jirachi |
feature=385Jirachi |
local=551Sandile |
local=551Sandile |
column|op-column=534Conkeldurr |
syndicated|column|op-column=534Conkeldurr |
opinion=572Minccino |
opinion=572Minccino |
editorial=202Wobbuffet |
editorial=202Wobbuffet |
Line 97: Line 98:
feature=This is a '''feature article'''. If you're using this, it's probably the wrong tag. Try again. |
feature=This is a '''feature article'''. If you're using this, it's probably the wrong tag. Try again. |
local=This '''local article''' reports on an event in a specific geographical location. It may not be relevant for all readers. |
local=This '''local article''' reports on an event in a specific geographical location. It may not be relevant for all readers. |
syndicated=This article was originally published on {{{sourcename}}} and is reproduced by Bulbanews with permission. The original text can be found <span class="plainlinks">[{{{sourcelink}}} here]<span>.|
column|op-column=This '''column''' has been written by {{{sourcename|{{{user}}}}}}. It expresses the views of the columnist, not necessarily those of Bulbagarden networks. |
column|op-column=This '''column''' has been written by {{{sourcename|{{{user}}}}}}. It expresses the views of the columnist, not necessarily those of Bulbagarden networks. |
opinion=This '''opinion piece''' has been written by {{{sourcename|{{{user}}}}}}. It expresses the views of the writer, not necessarily those of Bulbagarden networks. |
opinion=This '''opinion piece''' has been written by {{{sourcename|{{{user}}}}}}. It expresses the views of the writer, not necessarily those of Bulbagarden networks. |
Line 132: Line 134:
[[Category:{{{year}}}]]
[[Category:{{{year}}}]]
[[Category:{{Monthname/{{{month}}}}} {{{year}}}]]
[[Category:{{Monthname/{{{month}}}}} {{{year}}}]]
{{#switch: {{{sourcetype|}}} | bulbanews|opinion-bn|editorial-bn|column-bn=[[Category:Articles by {{{sourcename|{{{user}}}}}}]]|}}
{{#switch: {{{sourcetype|}}} | bulbanews|opinion-bn|editorial-bn|column-bn=[[Category:Articles by {{{sourcename|{{{user}}}}}}]] | syndicated=[[Category:Syndicated articles]] [[Category:Articles from {{{sourcename}}}]]|}}
{{#if: {{{user|}}}|[[Category:Articles by {{{user}}}]]}}
{{#if: {{{user|}}}|[[Category:Articles by {{{user}}}]]}}
{{#if: {{{publisher|}}}|[[Category:Articles by {{{publisher}}}]]|}}
{{#if: {{{publisher|}}}|[[Category:Articles by {{{publisher}}}]]|}}