|
|
| Line 1: |
Line 1: |
| <includeonly><infobox theme="image">
| |
| <title>
| |
| <default>{{FULLPAGENAME}}</default>
| |
| </title>
| |
| <group>
| |
| <header>Information</header>
| |
| <data source="attention">
| |
| <label>'''Attention!'''</label>
| |
| </data>
| |
| <data source="description">
| |
| <label>Description</label>
| |
| </data>
| |
| <data source="source">
| |
| <label>Source</label>
| |
| </data>
| |
| <data source="artist">
| |
| <label>Original designer / artist</label>
| |
| </data>
| |
| <data source="author">
| |
| <label>Original designer / artist</label>
| |
| </data>
| |
| <data source="filespecs">
| |
| <label>Conversion / editing / upload information</label>
| |
| </data>
| |
| <data source="licensing">
| |
| <label>Licensing</label>
| |
| </data>
| |
| <data source="other versions">
| |
| <label>Other versions / source images</label>
| |
| </data>
| |
| </group>
| |
| <navigation><small>{{PlainLink|//starwars.fandom.com/wiki/Template:Information|name=<nowiki>[</nowiki>Source<nowiki>]</nowiki>}}</small></navigation>
| |
| </infobox>{{Clear}}<!-- TEMPLATE ENDS HERE. In order to regenerate the template, replace the code above with the source code provided. -->
| |
| {{SpecialCategorizer|{{#if:{{{source|}}}||[[Category:Images with unknown source]]{{Delete|No source provided}}}}<!--
| |
| -->{{#if:{{{licensing|}}}||[[Category:Images with unknown copyright status]]{{Delete|No licensing information provided}}}}<!--
| |
| -->{{#ifeq:{{{cat artist|}}}|skip||{{{cat artist}}}}}{{#ifeq:{{{cat licensee|}}}|skip||{{{cat licensee}}}}}{{#ifeq:{{{cat subject|}}}|skip||{{{cat subject}}}}}{{#ifeq:{{{cat type|}}}|skip||{{{cat type}}}}}<!--
| |
|
| |
|
| The following if statements tag articles as uncategorized if they are missing information and are not exempt from categorization.
| |
| -->{{#if:{{#pos:{{PAGENAME}}|.pdf}}{{#pos:{{PAGENAME}}|.ogg}}
| |
| |
| |
| |{{#ifexpr: {{#if:{{{author|}}}{{{artist|}}}|1|0}} and {{#if:{{{cat artist|}}}|0|1}}
| |
| |[[Category:Files without artist categorization]]
| |
| |
| |
| }}
| |
| }}{{#ifexpr:{{#if:{{{cat subject|}}}|0|1}} and {{#if:{{#pos:{{PAGENAME}}|.pdf}}|0|1}}
| |
| |[[Category:Files without subject categorization]]
| |
| |
| |
| }}{{#ifexpr:{{#if:{{{cat licensee|}}}|0|1}} and {{#if:{{#pos:{{PAGENAME}}|.pdf}}|0|1}}
| |
| |[[Category:Files without licensing categorization]]
| |
| |
| |
| }}{{#ifexpr:{{#if:{{{cat type|}}}|0|1}} and {{#if:{{#pos:{{PAGENAME}}|.pdf}}|0|1}}
| |
| |[[Category:Files without type categorization]]
| |
| |
| |
| }}}}<!--
| |
|
| |
| The following if statements place articles into categories where specific params contain plaintext only i.e. no wikilinks / templates.
| |
| -->{{#ifeq:{{NAMESPACE}}|Template||{{#ifeq:{{PAGENAME}}|Template messages/File namespace||
| |
| {{#if:{{{attention|}}}
| |
| |{{#if:{{#pos:{{{attention|}}}|[}}{{#pos:{{{attention|}}}|{}}
| |
| |
| |
| |[[Category:Files with plaintext attention]]}}
| |
| |}}
| |
| {{#if:{{{description|}}}
| |
| |{{#if:{{#pos:{{{description|}}}|[}}{{#pos:{{{description|}}}|{}}
| |
| |
| |
| |[[Category:Files with plaintext description]]}}
| |
| |[[Category:Files with no description]]}}
| |
| {{#if:{{{source|}}}
| |
| |{{#if:{{#pos:{{{source|}}}|[}}
| |
| |{{#if:{{#pos:{{{source|}}}|[http}}
| |
| |{{#if:{{#pos:{{{source|}}}|(}}
| |
| {{#pos:{{{source|}}}|[File:}}
| |
| {{#pos:{{{source|}}}|,}}
| |
| |
| |
| |[[Category:Files with bare URL source]]}}
| |
| |}}
| |
| |{{#if:{{#pos:{{{source|}}}|http}}
| |
| |[[Category:Files with bare URL source]]
| |
| |[[Category:Files with plaintext source]]}}}}
| |
| |}}
| |
| {{#if:{{{artist|}}}
| |
| |{{#if:{{{nonsw artist|}}}
| |
| |
| |
| |{{#if:{{#pos:{{{artist|}}}|[}}{{#pos:{{{artist|}}}|{}}
| |
| |
| |
| |[[Category:Files with plaintext artist]]}}}}
| |
| |}}
| |
| {{#if:{{{licensing|}}}
| |
| |{{#if:{{#pos:{{{licensing|}}}|[}}{{#pos:{{{licensing|}}}|{}}
| |
| |
| |
| |[[Category:Files with plaintext licensing]]}}|}}
| |
| {{#if:{{{other versions|}}}
| |
| |{{#if:{{#pos:{{{other versions|}}}|[}}{{#pos:{{{other versions|}}}|{}}
| |
| |
| |
| |[[Category:Files with plaintext other versions]]}}
| |
| |}}
| |
| }}}}{{#invoke:TemplateParamCheck|main|description|source|licensing|attention|artist|filespecs|other versions|cat artist|cat licensee|cat subject|cat type|optional=nonsw artist|namespace=6}}{{#invoke:FilenameChecker|main}}</includeonly><noinclude>{{Documentation}}</noinclude>
| |