Difference between revisions of "Template:Class/definition.json"

From blackwiki
Jump to navigation Jump to search
imported>Nihiltres
(Added "requiresAttribution" property and bundled icon properties into objects)
imported>Nihiltres
(Bundled label properties into "labels" objects and fixed a property mixup with "SL" and "Book" class definitions)
Line 8: Line 8:
 
             "requiresAttribution": true
 
             "requiresAttribution": true
 
         },
 
         },
         "labelAdjective": "Featured",
+
         "labels": {
        "labelFull": "Featured article",
+
            "adjective": "Featured",
        "labelShort": "FA",
+
            "full": "Featured article",
 +
            "short": "FA"
 +
        },
 
         "page": "Wikipedia:Featured articles"
 
         "page": "Wikipedia:Featured articles"
 
     },
 
     },
Line 21: Line 23:
 
             "requiresAttribution": true
 
             "requiresAttribution": true
 
         },
 
         },
         "labelAdjective": "Featured",
+
         "labels": {
        "labelFull": "Featured list",
+
            "adjective": "Featured",
        "labelShort": "FL",
+
            "full": "Featured list",
 +
            "short": "FL"
 +
        },
 
         "page": "Wikipedia:Featured lists"
 
         "page": "Wikipedia:Featured lists"
 
     },
 
     },
Line 34: Line 38:
 
             "requiresAttribution": true
 
             "requiresAttribution": true
 
         },
 
         },
         "labelAdjective": "Featured",
+
         "labels": {
        "labelFull": "Featured media",
+
            "adjective": "Featured",
        "labelShort": "FM",
+
            "full": "Featured media",
 +
            "short": "FM"
 +
        },
 
         "page": "Wikipedia:Featured pictures"
 
         "page": "Wikipedia:Featured pictures"
 
     },
 
     },
Line 47: Line 53:
 
             "requiresAttribution": true
 
             "requiresAttribution": true
 
         },
 
         },
         "labelAdjective": "A-Class",
+
         "labels": {
        "labelFull": "A-Class article",
+
            "adjective": "A-Class",
        "labelShort": "A"
+
            "full": "A-Class article",
 +
            "short": "A"
 +
        }
 
     },
 
     },
 
     "ga": {
 
     "ga": {
Line 59: Line 67:
 
             "requiresAttribution": false
 
             "requiresAttribution": false
 
         },
 
         },
         "labelAdjective": "Good",
+
         "labels": {
        "labelFull": "Good article",
+
            "adjective": "Good",
        "labelShort": "GA",
+
            "full": "Good article",
 +
            "short": "GA"
 +
        },
 
         "page": "Wikipedia:Good articles"
 
         "page": "Wikipedia:Good articles"
 
     },
 
     },
Line 72: Line 82:
 
             "requiresAttribution": true
 
             "requiresAttribution": true
 
         },
 
         },
         "labelAdjective": "B-Class",
+
         "labels": {
        "labelFull": "B-Class article",
+
            "adjective": "B-Class",
        "labelShort": "B"
+
            "full": "B-Class article",
 +
            "short": "B"
 +
        }
 
     },
 
     },
 
     "c": {
 
     "c": {
Line 84: Line 96:
 
             "requiresAttribution": true
 
             "requiresAttribution": true
 
         },
 
         },
         "labelAdjective": "C-Class",
+
         "labels": {
        "labelFull": "C-Class article",
+
            "adjective": "C-Class",
        "labelShort": "C"
+
            "full": "C-Class article",
 +
            "short": "C"
 +
        }
 
     },
 
     },
 
     "start": {
 
     "start": {
Line 96: Line 110:
 
             "requiresAttribution": true
 
             "requiresAttribution": true
 
         },
 
         },
         "labelAdjective": "Start-Class",
+
         "labels": {
        "labelFull": "Start-Class article",
+
            "adjective": "Start-Class",
        "labelShort": "Start"
+
            "full": "Start-Class article",
 +
            "short": "Start"
 +
        }
 
     },
 
     },
 
     "stub": {
 
     "stub": {
Line 108: Line 124:
 
             "requiresAttribution": true
 
             "requiresAttribution": true
 
         },
 
         },
         "labelAdjective": "Stub-Class",
+
         "labels": {
        "labelFull": "Stub-Class article",
+
            "adjective": "Stub-Class",
        "labelShort": "Stub"
+
            "full": "Stub-Class article",
 +
            "short": "Stub"
 +
        }
 
     },
 
     },
 
     "list": {
 
     "list": {
Line 120: Line 138:
 
             "requiresAttribution": false
 
             "requiresAttribution": false
 
         },
 
         },
         "labelAdjective": "List-Class",
+
         "labels": {
        "labelFull": "List-Class article",
+
            "adjective": "List-Class",
        "labelShort": "List"
+
            "full": "List-Class article",
 +
            "short": "List"
 +
        }
 
     },
 
     },
 
     "na": {
 
     "na": {
Line 132: Line 152:
 
             "requiresAttribution": false
 
             "requiresAttribution": false
 
         },
 
         },
         "labelAdjective": "NA-Class",
+
         "labels": {
        "labelFull": "NA-Class article",
+
            "adjective": "NA-Class",
        "labelShort": "NA"
+
            "full": "NA-Class article",
 +
            "short": "NA"
 +
        }
 
     },
 
     },
 
     "unassessed": {
 
     "unassessed": {
Line 144: Line 166:
 
             "requiresAttribution": false
 
             "requiresAttribution": false
 
         },
 
         },
         "labelAdjective": "unassessed",
+
         "labels": {
        "labelFull": "unassessed article",
+
            "adjective": "unassessed",
        "labelShort": "???"
+
            "full": "unassessed article",
 +
            "short": "???"
 +
        }
 
     },
 
     },
 
     "bplus": {
 
     "bplus": {
Line 156: Line 180:
 
             "requiresAttribution": true
 
             "requiresAttribution": true
 
         },
 
         },
         "labelAdjective": "Bplus",
+
         "labels": {
        "labelFull": "Bplus-Class article",
+
            "adjective": "Bplus",
        "labelShort": "Bplus"
+
            "full": "Bplus-Class article",
 +
            "short": "Bplus"
 +
        }
 
     },
 
     },
 
     "current": {
 
     "current": {
Line 168: Line 194:
 
             "requiresAttribution": true
 
             "requiresAttribution": true
 
         },
 
         },
         "labelAdjective": "Current-Class",
+
         "labels": {
        "labelFull": "Current-Class article",
+
            "adjective": "Current-Class",
        "labelShort": "Current"
+
            "full": "Current-Class article",
 +
            "short": "Current"
 +
        }
 
     },
 
     },
 
     "future": {
 
     "future": {
Line 180: Line 208:
 
             "requiresAttribution": true
 
             "requiresAttribution": true
 
         },
 
         },
         "labelAdjective": "Future-Class",
+
         "labels": {
        "labelFull": "Future-Class article",
+
            "adjective": "Future-Class",
        "labelShort": "Future"
+
            "full": "Future-Class article",
 +
            "short": "Future"
 +
        }
 
     },
 
     },
 
     "sia": {
 
     "sia": {
Line 192: Line 222:
 
             "requiresAttribution": false
 
             "requiresAttribution": false
 
         },
 
         },
         "labelAdjective": "SIA-Class",
+
         "labels": {
        "labelFull": "set index article",
+
            "adjective": "SIA-Class",
        "labelShort": "SIA"
+
            "full": "set index article",
 +
            "short": "SIA"
 +
        }
 
     },
 
     },
 
     "al": {
 
     "al": {
Line 204: Line 236:
 
             "requiresAttribution": true
 
             "requiresAttribution": true
 
         },
 
         },
         "labelAdjective": "AL-Class",
+
         "labels": {
        "labelFull": "A-Class list",
+
            "adjective": "AL-Class",
        "labelShort": "AL"
+
            "full": "A-Class list",
 +
            "short": "AL"
 +
        }
 
     },
 
     },
 
     "bl": {
 
     "bl": {
Line 216: Line 250:
 
             "requiresAttribution": true
 
             "requiresAttribution": true
 
         },
 
         },
         "labelAdjective": "BL-Class",
+
         "labels": {
        "labelFull": "B-Class list",
+
            "adjective": "BL-Class",
        "labelShort": "BL"
+
            "full": "B-Class list",
 +
            "short": "BL"
 +
        }
 
     },
 
     },
 
     "cl": {
 
     "cl": {
Line 228: Line 264:
 
             "requiresAttribution": true
 
             "requiresAttribution": true
 
         },
 
         },
         "labelAdjective": "CL-Class",
+
         "labels": {
        "labelFull": "C-Class list",
+
            "adjective": "CL-Class",
        "labelShort": "CL"
+
            "full": "C-Class list",
 +
            "short": "CL"
 +
        }
 
     },
 
     },
 
     "sl": {
 
     "sl": {
Line 239: Line 277:
 
             "default": false,
 
             "default": false,
 
             "requiresAttribution": true
 
             "requiresAttribution": true
 +
        },
 +
        "labels": {
 +
            "adjective": "SL-Class",
 +
            "full": "SL-class list",
 +
            "short": "SL"
 
         }
 
         }
 
     },
 
     },
Line 249: Line 292:
 
             "requiresAttribution": true
 
             "requiresAttribution": true
 
         },
 
         },
         "labelAdjective": "SL-Class",
+
         "labels": {
        "labelFull": "SL-class list",
+
            "adjective": "book",
        "labelShort": "SL"
+
            "full": "book",
 +
            "short": "Book"
 +
        }
 
     },
 
     },
 
     "category": {
 
     "category": {
Line 261: Line 306:
 
             "requiresAttribution": true
 
             "requiresAttribution": true
 
         },
 
         },
         "labelAdjective": "Category-Class",
+
         "labels": {
        "labelFull": "category",
+
            "adjective": "Category-Class",
        "labelShort": "Category"
+
            "full": "category",
 +
            "short": "Category"
 +
        }
 
     },
 
     },
 
     "disambig": {
 
     "disambig": {
Line 273: Line 320:
 
             "requiresAttribution": true
 
             "requiresAttribution": true
 
         },
 
         },
         "labelAdjective": "disambiguation",
+
         "labels": {
        "labelFull": "disambiguation page",
+
            "adjective": "disambiguation",
        "labelShort": "Disambig"
+
            "full": "disambiguation page",
 +
            "short": "Disambig"
 +
        }
 
     },
 
     },
 
     "draft": {
 
     "draft": {
Line 285: Line 334:
 
             "requiresAttribution": false
 
             "requiresAttribution": false
 
         },
 
         },
         "labelAdjective": "draft",
+
         "labels": {
        "labelFull": "draft",
+
            "adjective": "draft",
        "labelShort": "Draft"
+
            "full": "draft",
 +
            "short": "Draft"
 +
        }
 
     },
 
     },
 
     "file": {
 
     "file": {
Line 297: Line 348:
 
             "requiresAttribution": false
 
             "requiresAttribution": false
 
         },
 
         },
         "labelAdjective": "file",
+
         "labels": {
        "labelFull": "file",
+
            "adjective": "file",
        "labelShort": "File"
+
            "full": "file",
 +
            "short": "File"
 +
        }
 
     },
 
     },
 
     "merge": {
 
     "merge": {
Line 307: Line 360:
 
             "default": false
 
             "default": false
 
         },
 
         },
         "labelAdjective": "Merge-Class",
+
         "labels": {
        "labelFull": "Merge-Class article",
+
            "adjective": "Merge-Class",
        "labelShort": "Merge"
+
            "full": "Merge-Class article",
 +
            "short": "Merge"
 +
        }
 
     },
 
     },
 
     "needed": {
 
     "needed": {
Line 317: Line 372:
 
             "default": false
 
             "default": false
 
         },
 
         },
         "labelAdjective": "needed",
+
         "labels": {
        "labelFull": "needed article",
+
            "adjective": "needed",
        "labelShort": "Needed"
+
            "full": "needed article",
 +
            "short": "Needed"
 +
        }
 
     },
 
     },
 
     "portal": {
 
     "portal": {
Line 329: Line 386:
 
             "requiresAttribution": false
 
             "requiresAttribution": false
 
         },
 
         },
         "labelAdjective": "portal",
+
         "labels": {
        "labelFull": "portal page",
+
            "adjective": "portal",
        "labelShort": "Portal"
+
            "full": "portal page",
 +
            "short": "Portal"
 +
        }
 
     },
 
     },
 
     "project": {
 
     "project": {
Line 341: Line 400:
 
             "requiresAttribution": false
 
             "requiresAttribution": false
 
         },
 
         },
         "labelAdjective": "project",
+
         "labels": {
        "labelFull": "project page",
+
            "adjective": "project",
        "labelShort": "Project"
+
            "full": "project page",
 +
            "short": "Project"
 +
        }
 
     },
 
     },
 
     "redirect": {
 
     "redirect": {
Line 353: Line 414:
 
             "requiresAttribution": true
 
             "requiresAttribution": true
 
         },
 
         },
         "labelAdjective": "redirect",
+
         "labels": {
        "labelFull": "redirect page",
+
            "adjective": "redirect",
        "labelShort": "Redirect"
+
            "full": "redirect page",
 +
            "short": "Redirect"
 +
        }
 
     },
 
     },
 
     "template": {
 
     "template": {
Line 365: Line 428:
 
             "requiresAttribution": false
 
             "requiresAttribution": false
 
         },
 
         },
         "labelAdjective": "template",
+
         "labels": {
        "labelFull": "template page",
+
            "adjective": "template",
        "labelShort": "Template"
+
            "full": "template page",
 +
            "short": "Template"
 +
        }
 
     },
 
     },
 
     "user": {
 
     "user": {
Line 375: Line 440:
 
             "default": false
 
             "default": false
 
         },
 
         },
         "labelAdjective": "user",
+
         "labels": {
        "labelFull": "user page",
+
            "adjective": "user",
        "labelShort": "User"
+
            "full": "user page",
 +
            "short": "User"
 +
        }
 
     },
 
     },
 
     "b+": {
 
     "b+": {

Revision as of 20:00, 15 December 2016

fa
category"Category:FA-Class articles"
colour"#6699ff"
icon
file"Featured_article_star.svg"
defaulttrue
requiresAttributiontrue
labels
adjective"Featured"
full"Featured article"
short"FA"
page"Wikipedia:Featured articles"
fl
category"Category:FL-Class articles"
colour"#6699ff"
icon
file"Featured_article_star.svg"
defaulttrue
requiresAttributiontrue
labels
adjective"Featured"
full"Featured list"
short"FL"
page"Wikipedia:Featured lists"
fm
category"Category:FM-Class articles"
colour"#6699ff"
icon
file"Featured_article_star.svg"
defaulttrue
requiresAttributiontrue
labels
adjective"Featured"
full"Featured media"
short"FM"
page"Wikipedia:Featured pictures"
a
category"Category:A-Class articles"
colour"#66ffff"
icon
file"Symbol_a_class.svg"
defaulttrue
requiresAttributiontrue
labels
adjective"A-Class"
full"A-Class article"
short"A"
ga
category"Category:GA-Class articles"
colour"#66ff66"
icon
file"Symbol_support_vote.svg"
defaulttrue
requiresAttributionfalse
labels
adjective"Good"
full"Good article"
short"GA"
page"Wikipedia:Good articles"
b
category"Category:B-Class articles"
colour"#b2ff66"
icon
file"Symbol_b_class.svg"
defaultfalse
requiresAttributiontrue
labels
adjective"B-Class"
full"B-Class article"
short"B"
c
category"Category:C-Class articles"
colour"#ffff66"
icon
file"Symbol_c_class.svg"
defaultfalse
requiresAttributiontrue
labels
adjective"C-Class"
full"C-Class article"
short"C"
start
category"Category:Start-Class articles"
colour"#ffaa66"
icon
file"Symbol_start_class.svg"
defaultfalse
requiresAttributiontrue
labels
adjective"Start-Class"
full"Start-Class article"
short"Start"
stub
category"Category:Stub-Class articles"
colour"#ff6666"
icon
file"Symbol_stub_class.svg"
defaultfalse
requiresAttributiontrue
labels
adjective"Stub-Class"
full"Stub-Class article"
short"Stub"
list
category"Category:List-Class articles"
colour"#aa88ff"
icon
file"Symbol_list_class.svg"
defaultfalse
requiresAttributionfalse
labels
adjective"List-Class"
full"List-Class article"
short"List"
na
category"Category:NA-Class articles"
colour"#f5f5f5"
icon
file"Symbol_neutral_vote.svg"
defaultfalse
requiresAttributionfalse
labels
adjective"NA-Class"
full"NA-Class article"
short"NA"
unassessed
category"Category:Unassessed-Class articles"
colour"transparent"
icon
file"Symbol_question.svg"
defaultfalse
requiresAttributionfalse
labels
adjective"unassessed"
full"unassessed article"
short"???"
bplus
category"Category:Bplus-Class articles"
colour"#66ff66"
icon
file"Symbol_bplus_class.svg"
defaultfalse
requiresAttributiontrue
labels
adjective"Bplus"
full"Bplus-Class article"
short"Bplus"
current
category"Category:Current-Class articles"
colour"#d870ff"
icon
file"Ambox_currentevent.svg"
defaultfalse
requiresAttributiontrue
labels
adjective"Current-Class"
full"Current-Class article"
short"Current"
future
category"Category:Future-Class articles"
colour"#8a95c9"
icon
file"Ambox_currentevent.svg"
defaultfalse
requiresAttributiontrue
labels
adjective"Future-Class"
full"Future-Class article"
short"Future"
sia
category"Category:SIA-Class articles"
colour"#ccaaff"
icon
file"Symbol_list_class.svg"
defaultfalse
requiresAttributionfalse
labels
adjective"SIA-Class"
full"set index article"
short"SIA"
al
category"Category:AL-Class articles"
colour"#66ffff"
icon
file"Symbol_a_class.svg"
defaulttrue
requiresAttributiontrue
labels
adjective"AL-Class"
full"A-Class list"
short"AL"
bl
category"Category:BL-Class articles"
colour"#b2ff66"
icon
file"Symbol_b_class.svg"
defaultfalse
requiresAttributiontrue
labels
adjective"BL-Class"
full"B-Class list"
short"BL"
cl
category"Category:CL-Class articles"
colour"#ffff66"
icon
file"Symbol_c_class.svg"
defaultfalse
requiresAttributiontrue
labels
adjective"CL-Class"
full"C-Class list"
short"CL"
sl
category"Category:SL-Class articles"
colour"#ff6666"
icon
file"Symbol_start_class.svg"
defaultfalse
requiresAttributiontrue
labels
adjective"SL-Class"
full"SL-class list"
short"SL"
book
category"Category:Book-Class articles"
colour"#98ff98"
icon
file"Symbol_book_class2.svg"
defaultfalse
requiresAttributiontrue
labels
adjective"book"
full"book"
short"Book"
category
category"Category:Category-Class articles"
colour"#ffdb58"
icon
file"Folder_Hexagonal_Icon.svg"
defaultfalse
requiresAttributiontrue
labels
adjective"Category-Class"
full"category"
short"Category"
disambig
category"Category:Disambig-Class articles"
colour"#00fa9a"
icon
file"Symbol_dab_class.svg"
defaultfalse
requiresAttributiontrue
labels
adjective"disambiguation"
full"disambiguation page"
short"Disambig"
draft
category"Category:Draft-Class articles"
colour"#d98159"
icon
file"Symbol_neutral_vote.svg"
defaultfalse
requiresAttributionfalse
labels
adjective"draft"
full"draft"
short"Draft"
file
category"Category:File-Class articles"
colour"#ddccff"
icon
file"Video-x-generic.svg"
defaultfalse
requiresAttributionfalse
labels
adjective"file"
full"file"
short"File"
merge
category"Category:Merge-Class articles"
colour"#add8e6"
icon
defaultfalse
labels
adjective"Merge-Class"
full"Merge-Class article"
short"Merge"
needed
category"Category:Needed-Class articles"
colour"#dcdcdc"
icon
defaultfalse
labels
adjective"needed"
full"needed article"
short"Needed"
portal
category"Category:Portal-Class articles"
colour"#cc8899"
icon
file"Portal-puzzle.svg"
defaultfalse
requiresAttributionfalse
labels
adjective"portal"
full"portal page"
short"Portal"
project
category"Category:Project-Class articles"
colour"#c0c090"
icon
file"Symbol_information_vote.svg"
defaultfalse
requiresAttributionfalse
labels
adjective"project"
full"project page"
short"Project"
redirect
category"Category:Redirect-Class articles"
colour"#c0c0c0"
icon
file"Symbol_redirect_vote2.svg"
defaultfalse
requiresAttributiontrue
labels
adjective"redirect"
full"redirect page"
short"Redirect"
template
category"Category:Template-Class articles"
colour"#fbceb1"
icon
file"Symbol_template_class.svg"
defaultfalse
requiresAttributionfalse
labels
adjective"template"
full"template page"
short"Template"
user
category"Category:User-Class articles"
colour"#b5b546"
icon
defaultfalse
labels
adjective"user"
full"user page"
short"User"
b+
alias"bplus"
cat
alias"category"
categ
alias"category"
dab
alias"disambig"
disamb
alias"disambig"
audio
alias"file"
image
alias"file"
red
alias"redirect"
redir
alias"redirect"
temp
alias"template"
templ
alias"template"