Template:Status/Icon: Difference between revisions
Template page
More actions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly>{{#switch:{{{1|}}} | <includeonly>{{#switch:{{{1|}}} | ||
<!--Protection + Misc icons (KEEP AT TOP AT ALL COSTS)--> | <!--Protection + Misc icons (KEEP AT TOP AT ALL COSTS)--> | ||
| StaffLocked=<indicator name="01-stafflocked">[[File: | | StaffLocked=<indicator name="01-stafflocked">[[File:DCD-Status-Protected.svg|x38px|class=notpageimage|alt=Locked|link=Datacron_Database:Policies|Only Datacron Database staff may edit this page. {{#if:{{PROTECTIONLEVEL:edit}}|{{#ifeq:{{PROTECTIONEXPIRY:edit}}|infinity||This protection will expire on {{#time:l, F j, Y|{{PROTECTIONEXPIRY:edit}}}}.}}}}]]</indicator>[[Category:Fully-protected {{#if:{{NAMESPACE}}|pages|articles}}]] | ||
| AutoconfirmedLocked=<indicator name="02-autoconfirmedlocked">[[File: | | AutoconfirmedLocked=<indicator name="02-autoconfirmedlocked">[[File:DCD-Status-Protected.svg|x38px|class=notpageimage|alt=Locked|link=Datacron_Database:Policies|Only trusted users may edit this page. {{#if:{{PROTECTIONLEVEL:edit}}|{{#ifeq:{{PROTECTIONEXPIRY:edit}}|infinity||This protection will expire on {{#time:l, F j, Y|{{PROTECTIONEXPIRY:edit}}}}.}}}}]]</indicator>[[Category:Semi-protected {{#if:{{NAMESPACE}}|pages|articles}}]] | ||
| UserLocked=<indicator name="03-userlocked">[[File: | | UserLocked=<indicator name="03-userlocked">[[File:DCD-Status-Protected.svg|x38px|class=notpageimage|alt=Locked|link=Datacron_Database:Policies|Only logged-in users may edit this page. {{#if:{{PROTECTIONLEVEL:edit}}|{{#ifeq:{{PROTECTIONEXPIRY:edit}}|infinity||This protection will expire on {{#time:l, F j, Y|{{PROTECTIONEXPIRY:edit}}}}.}}}}]]</indicator>[[Category:User-protected {{#if:{{NAMESPACE}}|pages|articles}}]] | ||
| Featured=<indicator name="04-featured">[[File: | | Featured=<indicator name="04-featured">[[File:DCD-Status-Featured.svg|x38px|class=notpageimage|alt=Pinned|link=Datacron_Database:Featured/Article|This article has been featured due to its high quality.]]</indicator>{{#if:{{NAMESPACE}}||[[Category:Featured articles]]}} | ||
<!--Fiction icons--> | <!--Fiction icons--> | ||
| Canon=<indicator name="21- | | G-Canon=<indicator name="21-gcanon">[[File:DCD-Status-GCanon.svg|x38px|class=notpageimage|alt=G-Canon|link=Category:G-Canon|This article is on a G-canon subject.]]</indicator> | ||
| | | T-Canon=<indicator name="22-tcanon">[[File:DCD-Status-TCanon.svg|x38px|class=notpageimage|alt=T-Canon|link=Category:T-Canon|This article is on a T-canon subject.]]</indicator> | ||
| | | C-Canon=<indicator name="23-tcanon">[[File:DCD-Status-CCanon.svg|x38px|class=notpageimage|alt=C-Canon|link=Category:C-Canon|This article is on a C-canon subject.]]</indicator> | ||
| | | S-Canon=<indicator name="24-scanon">[[File:DCD-Status-SCanon.svg|x38px|class=notpageimage|alt=S-Canon|link=Category:S-Canon|This article is on a S-canon subject.]]</indicator> | ||
| | | N-Canon=<indicator name="25-ncanon">[[File:DCD-Status-NCanon.svg|x38px|class=notpageimage|alt=N-Canon|link=Category:N-Canon|This article is on a N-canon subject.]]</indicator> | ||
| | | A-Canon=<indicator name="22-acanon">[[File:DCD-Status-ACanon.svg|x38px|class=notpageimage|alt=A-Canon|link=Category:A-Canon|This article is on a A-canon subject.]]</indicator> | ||
| RealWorld=<indicator name="27-realworld">[[File: | | RealWorld=<indicator name="27-realworld">[[File:DCD-Status-RealWorld.svg|x38px|class=notpageimage|alt=Real World|link=Category:Real_World|This is an article about the real world.]]</indicator> | ||
<!--Halopedia based icons--> | <!--Halopedia based icons--> | ||
| Archive=<indicator name="41-archive">[[File: | | Archive=<indicator name="41-archive">[[File:DCD-Status-Archive.svg|x38px|class=notpageimage|alt=Archive|link=Archive:Main|This page is an archive of another webpage or piece of media, and should not be modified.]]</indicator> | ||
| | | Datacron=<indicator name="42-datacron">[[File:DCD-Status-Datacron.svg|x38px|class=notpageimage|alt=Datacron|link=Help:Contents|This is an official page about the Datacron Database or its policies.]]</indicator> | ||
| News=<indicator name="43-news">[[File: | | News=<indicator name="43-news">[[File:DCD-Status-News.svg|x38px|class=notpageimage|alt=News|link=News:Main|This page is a Datacron news article.]]</indicator> | ||
<!--Other--> | <!--Other--> | ||
| Other=<indicator name="61-other">[[File: | | Other=<indicator name="61-other">[[File:DCD-Status-Other.svg|x38px|class=notpageimage|alt=Other|link=Help talk:Status icons|This page's status is still under discussion, or does not fit into any category.]]</indicator> | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
:''See [[Template:Status]] for how to use status icons'' | :''See [[Template:Status]] for how to use status icons'' | ||
== | ==Datacron Database template expansion help== | ||
The following is for | The following is for the Datacron Database staff to enhance this template if required. Otherwise you do not need to read this and can go back to [[:Template:Status|Template:Status]] for instructions on how to use status icons on the wiki. | ||
===Template indicator organization=== | ===Template indicator organization=== | ||
*01 to 19 is reserved for locks and potential other behind the scenes icons. | *01 to 19 is reserved for locks and potential other behind the scenes icons. | ||
*21 to 39 is reserved for casual icons if we decide to add more. | *21 to 39 is reserved for casual icons if we decide to add more. | ||
*41 to 59 is reserved for | *41 to 59 is reserved for Datacron project stuff. | ||
*61 is just "Other". | *61 is just "Other". | ||
*00, 20, 40, and 60 are not to be used. These are intentional spaces to give us leeway if absolutely needed. | *00, 20, 40, and 60 are not to be used. These are intentional spaces to give us leeway if absolutely needed. | ||
| Line 39: | Line 38: | ||
===Adding to the list=== | ===Adding to the list=== | ||
The code for adding to the list looks like this. | The code for adding to the list looks like this. | ||
<pre>| StatusName=<indicator name="00-statusname">[[File: | <pre>| StatusName=<indicator name="00-statusname">[[File:DCD-Example.png|x30px|link=Page link|Example text]]</indicator>[[Category:Example]]</pre> | ||
====Notes==== | ====Notes==== | ||
*Make sure the StatusName and statusname are not the same as other existing status codes. | *Make sure the StatusName and statusname are not the same as other existing status codes. | ||
*Make sure the indicator (00 in the code above) is not used already and follows the "Template indicator organization" above. | *Make sure the indicator (00 in the code above) is not used already and follows the "Template indicator organization" above. | ||
*Make sure it uses a unique icon in with the prefix of " | *Make sure it uses a unique icon in with the prefix of "DCD". | ||
*Make sure the "Page link" and "Example text" make sense to the reader. | *Make sure the "Page link" and "Example text" make sense to the reader. | ||
*A category at the end is not required. | *A category at the end is not required. | ||
</noinclude> | </noinclude> | ||