Difference between revisions of "Template:Article"

From Culture.si
 
(20 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<includeonly>{{#if:{{#pos:{{{status}}}|ROBOT}}|[[Category:ROBOT]]|[[Category:NOT_ROBOT]]}}
+
<noinclude>
 +
{{/doc}}
 +
[[Category:Article templates]]
 +
</noinclude>
 +
 
 +
<includeonly>
 +
{{#if:{{#pos:{{{status}}}|ROBOT}}|[[Category:ROBOT]]|[[Category:NOT_ROBOT]]}}
 
{{#if:{{#pos:{{{status}}}|WRITING}}|[[Category:WRITING]]|[[Category:WRITING_DONE]]}}
 
{{#if:{{#pos:{{{status}}}|WRITING}}|[[Category:WRITING]]|[[Category:WRITING_DONE]]}}
 
{{#if:{{#pos:{{{status}}}|INFOBOX}}|[[Category:INFOBOX]]|[[Category:INFOBOX_DONE]]}}
 
{{#if:{{#pos:{{{status}}}|INFOBOX}}|[[Category:INFOBOX]]|[[Category:INFOBOX_DONE]]}}
 
{{#if:{{#pos:{{{status}}}|TOPROOFREAD}}|[[Category:TOPROOFREAD]]|[[Category:PROOFREAD_DONE]]}}
 
{{#if:{{#pos:{{{status}}}|TOPROOFREAD}}|[[Category:TOPROOFREAD]]|[[Category:PROOFREAD_DONE]]}}
{{#if:{{#pos:{{{status}}}|NIFERTIK}}|{{mediawiki:culture-nifertik}}[[Category:NIFERTIK]]|[[Category:FERTIK]]{{#if:{{#pos:{{{status}}}|PHOTO}}|[[Category:FEATURED]]}}}}
+
{{#if:{{#pos:{{{status}}}|NIFERTIK}}|[[Category:NIFERTIK]]|[[Category:FERTIK]]}}
{{#if:{{#pos:{{{status}}}|PHOTOEDIT}}|[[Category:PHOTOEDIT]]}}
+
{{#if:{{#pos:{{{status}}}|NEEDSUPDATE}}|[[Category:NEEDSUPDATE]]}}
 
{{#if:{{#pos:{{{status}}}|FEATURED}}|[[Category:FEATURED]]}}
 
{{#if:{{#pos:{{{status}}}|FEATURED}}|[[Category:FEATURED]]}}
 
{{#if:{{#pos:{{{status}}}|COVER}}|[[Category:COVER]]}}
 
{{#if:{{#pos:{{{status}}}|COVER}}|[[Category:COVER]]}}
Line 10: Line 16:
 
{{#if:{{#pos:{{{status}}}|DEPO}}|[[Category:DEPO]]|[[Category:NODEPO]]}}
 
{{#if:{{#pos:{{{status}}}|DEPO}}|[[Category:DEPO]]|[[Category:NODEPO]]}}
 
{{#if:{{{maintainer|}}}|[[Category:Articles maintained by {{{maintainer}}}]]}}
 
{{#if:{{{maintainer|}}}|[[Category:Articles maintained by {{{maintainer}}}]]}}
{{#if:{{#pos:{{{status}}}|FOTOFERTIK}}
+
{{#if:{{#pos:{{{status}}}|PHOTOEDIT}}
| [[Category:FOTOFERTIK]]
+
| [[Category:PHOTOEDIT]]
| {{#if:{{#pos:{{{status}}}|PHOTO}}|[[Category:PHOTO]]|[[Category:NO_PHOTO]]}}
+
| {{#if:{{#pos:{{{status}}}|PHOTO}}
}}</includeonly>
+
  | [[Category:PHOTO]] {{#if:{{#pos:{{{status}}}|NIFERTIK}}
 +
    |
 +
    | [[Category:FEATURED]]
 +
    }}
 +
  | [[Category:NO_PHOTO]]
 +
  }}
 +
}}
 +
{{#if:{{{priority|}}}|{{#set:Priority|{{{priority}}}}}}}
 +
{{#if:{{{comment|}}}|{{#set:Comment|{{{comment}}}}}}}
 +
[[Category:Article]]
 +
 
 +
{{#if:{{{subtitle|}}}|<p class="subtitle">{{{subtitle}}}</p>}}
 +
{{#if:{{{published_date|}}}
 +
|<div class="date">{{#time: d F Y | {{{published_date}}} }}</div>}}
 +
{{#if:{{{author|}}}
 +
|<div class="author">[[PostAuthor::{{{author}}}]]</div>}}
 +
</includeonly>

Latest revision as of 21:29, 6 April 2021

Documentation for Template:Article doc

Describe article status

{{article
	| status     = ROBOT WRITING INFOBOX TOPROOFREAD NIFERTIK 
        	       COVER VERIFY DEPO PHOTOEDIT PHOTO NEEDSUPDATE
	| maintainer =
}}