Template:Article: Difference between revisions

This should be the update everyone's been waiting for. Pretty sure nothing will break. If it does, let's blame Rex. Update contains new draft notification and sourcing options.
m (No one understands the reasoning behind removing a failsafe link with preference to plain textt that doesn't go anywhere useful.)
(This should be the update everyone's been waiting for. Pretty sure nothing will break. If it does, let's blame Rex. Update contains new draft notification and sourcing options.)
Line 5: Line 5:
{| style="background:transparent;"
{| style="background:transparent;"
|-
|-
! colspan="2" style="font-size: 180%; padding-left:16px; padding-top:12px; padding-bottom:12px; padding-right:16px; background:#E0F2B6; border:2px solid; border-color:#C4E673; {{roundy|60px}}" | {{color|000|{{{alttitle|{{PAGENAME}}}}}}}  
! colspan="2" style="font-size: 180%; padding-left:16px; padding-top:12px; padding-bottom:12px; padding-right:16px; background:#E0F2B6; border:2px solid; border-color:#C4E673; {{roundy|60px}}" | {{color|000|{{{alttitle|{{PAGENAME}}}}}}}{{#switch:{{{ns|{{NAMESPACE}}}}}|Draft= (Draft)}} 
|}
|}
|-
|-
Line 36: Line 36:
</ul>
</ul>
<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>{{Source/{{{sourcetype}}}|1={{{sourcename|{{{user}}}}}}|2={{{sourcelink|{{{userlink}}}}}}}}{{#if: {{{publisher|}}}|<br/>Edited by [[User:{{{publisher}}}|{{{publisher}}}]]|}}</li>
<li>{{#if:{{{user|}}} | {{#switch:{{{type|news}}} |
column|op-column=Column by [[{{{userlink}}}|{{{user}}}]] |
opinion=Opinion by [[{{{userlink}}}|{{{user}}}]] |
editorial=Editorial by [[{{{userlink}}}|{{{user}}}]] |
Reported on Bulbanews by [[{{{userlink}}}|{{{user}}}]]}} {{#switch:{{{sourcetype}}} |
pressrelease|othersite=<br/>{{source/{{{sourcetype}}}|1={{{sourcename}}}|2={{{sourcelink}}}}} | }} | {{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 128: Line 133:
[[Category:{{Monthname/{{{month}}}}} {{{year}}}]]
[[Category:{{Monthname/{{{month}}}}} {{{year}}}]]
{{#ifeq: {{{sourcetype|}}}|bulbanews|[[Category:Articles by {{{sourcename|{{{user}}}}}}]]}}
{{#ifeq: {{{sourcetype|}}}|bulbanews|[[Category:Articles by {{{sourcename|{{{user}}}}}}]]}}
{{#if: {{{user|}}}|[[Category:Articles by {{{user}}}]]}}
{{#if: {{{publisher|}}}|[[Category:Articles by {{{publisher}}}]]|}}
{{#if: {{{publisher|}}}|[[Category:Articles by {{{publisher}}}]]|}}
{{#switch:{{{ns|{{NAMESPACE}}}}}|Draft=[[Category:Drafts]]}}
{{#switch:{{{ns|{{NAMESPACE}}}}}|Draft=[[Category:Drafts]]}}