Template:Status/Icon: Difference between revisions
Template page
More actions
Created page with "{{#switch:{{{1|}}} <!--Protection + Misc icons (KEEP AT TOP AT ALL COSTS)--> | StaffLocked=<indicator name="01-stafflocked">x38px|class=notpageimage|alt=Locked|link=Halopedia:Protected page policy|Only Halopedia 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:{{N..." |
m Protected "Template:Status/Icon" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) |
||
| (16 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{#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|x26px|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|x26px|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|x26px|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|x26px|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]]}} | ||
| Featured=<indicator name="05-prevfeatured">[[File:DCD-Status-PrevFeatured.svg|x24px|class=notpageimage|alt=Pinned|link=Datacron_Database:Previously_Featured/Article|This article has been formerly featured.]]</indicator>{{#if:{{NAMESPACE}}||[[Category:Featured articles]]}} | |||
| GoodArticles=<indicator name="06-goodarticle">[[File:DCD-Status-GoodArticle.svg|x24px|class=notpageimage|alt=Pinned|link=Category:Good_articles|This article is a good article.]]</indicator> | |||
<!--Fiction icons--> | <!--Fiction icons--> | ||
| Canon=<indicator name="21- | | G-Canon=<indicator name="21-gcanon">[[File:DCD-Status-GCanon.svg|x26px|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|x26px|class=notpageimage|alt=T-Canon|link=Category:T-Canon|This article is on a T-canon subject.]]</indicator> | ||
| | | C-Canon=<indicator name="23-ccanon">[[File:DCD-Status-CCanon.svg|x26px|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|x26px|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|x26px|class=notpageimage|alt=N-Canon|link=Category:N-Canon|This article is on a N-canon subject.]]</indicator> | ||
| | | A-Canon=<indicator name="26-acanon">[[File:DCD-Status-ACanon.svg|x26px|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-RealLife.svg|x26px|class=notpageimage|alt=Real World|link=Category:Real_World|This is an article about the real world.]]</indicator> | ||
| | | Lucas Universe=<indicator name="28-lucasuniverse">[[File:DCD-Status-LU.svg|x26px|class=notpageimage|alt=Lucas Universe|link=George Lucas' Universe|This article is about a Lucas Universe subject.]]</indicator> | ||
| Expanded Universe=<indicator name="29-expandeduniverse">[[File:DCD-Status-EU.svg|x26px|class=notpageimage|alt=Expanded Universe|link=Expanded Universe|This article is about a Expanded Universe subject.]]</indicator> | |||
<!-- | |||
| Archive=<indicator name="41-archive">[[File: | <!--Datacron Database based icons--> | ||
| | | Archive=<indicator name="41-archive">[[File:DCD-Status-Archive.svg|x26px|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> | ||
| News=<indicator name="43-news">[[File: | | Datacron=<indicator name="42-datacron">[[File:DCD-Status-Datacron.svg|x26px|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:DCD-Status-News.svg|x26px|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|x26px|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> | ||
:''See [[Template:Status]] for how to use status icons'' | |||
==Datacron Database template expansion help== | |||
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=== | |||
*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. | |||
*41 to 59 is reserved for Datacron project stuff. | |||
*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. | |||
===Adding to the list=== | |||
The code for adding to the list looks like this. | |||
<pre>| StatusName=<indicator name="00-statusname">[[File:DCD-Example.png|x30px|link=Page link|Example text]]</indicator>[[Category:Example]]</pre> | |||
====Notes==== | |||
*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 it uses a unique icon in with the prefix of "DCD". | |||
*Make sure the "Page link" and "Example text" make sense to the reader. | |||
*A category at the end is not required. | |||
</noinclude> | |||