Module:ConfigRepository: Difference between revisions
// via Wikitext Extension for VSCode |
// via Wikitext Extension for VSCode |
||
| Line 99: | Line 99: | ||
p.dateFormatting = { | p.dateFormatting = { | ||
useShortMonthNames = true | useShortMonthNames = true | ||
} | |||
-- Global page creator fields for TemplateStarter form generation | |||
p.pageCreatorFields = { | |||
PAGE_NAME = { | |||
key = "PAGE_NAME", | |||
label = "Page Name", | |||
placeholder = "Enter page name...", | |||
required = true | |||
}, | |||
COUNTRY = { | |||
key = "COUNTRY", | |||
label = "Country", | |||
placeholder = "Enter country (optional)...", | |||
required = false | |||
}, | |||
YEAR = { | |||
key = "YEAR", | |||
label = "Year", | |||
placeholder = "Enter year (optional)...", | |||
required = false | |||
}, | |||
ORGANIZATION_TYPE = { | |||
key = "ORGANIZATION_TYPE", | |||
label = "Organization Type", | |||
placeholder = "Enter organization type (optional)...", | |||
required = false | |||
}, | |||
OCCUPATION = { | |||
key = "OCCUPATION", | |||
label = "Occupation", | |||
placeholder = "Enter occupation (optional)...", | |||
required = false | |||
}, | |||
NORM_TYPE = { | |||
key = "NORM_TYPE", | |||
label = "Type of Norm", | |||
placeholder = "Enter norm type (optional)...", | |||
required = false | |||
} | |||
} | } | ||
| Line 151: | Line 191: | ||
}, | }, | ||
boilerplate = { | boilerplate = { | ||
intro = "'''$PAGE_NAME$''' was an event that took place in | intro = "'''$PAGE_NAME$''' was an event that took place in $COUNTRY$ in $YEAR$." | ||
}, | }, | ||
creatorFields = {"PAGE_NAME", "COUNTRY", "YEAR"}, | |||
mappings = { | mappings = { | ||
-- Process (Property:Has process connection) | -- Process (Property:Has process connection) | ||
| Line 255: | Line 296: | ||
}, | }, | ||
boilerplate = { | boilerplate = { | ||
intro = "'''$PAGE_NAME$''' is a | intro = "'''$PAGE_NAME$''' is a $NORM_TYPE$ proposed in $YEAR$." | ||
}, | }, | ||
creatorFields = {"PAGE_NAME", "NORM_TYPE", "YEAR"}, | |||
mappings = { | mappings = { | ||
norm_type = { | norm_type = { | ||
| Line 340: | Line 382: | ||
}, | }, | ||
boilerplate = { | boilerplate = { | ||
intro = "'''$PAGE_NAME$''' is | intro = "'''$PAGE_NAME$''' is a $ORGANIZATION_TYPE$ founded in $YEAR$." | ||
}, | }, | ||
creatorFields = {"PAGE_NAME", "ORGANIZATION_TYPE", "YEAR"}, | |||
mappings = { | mappings = { | ||
organization_type = { | organization_type = { | ||
| Line 428: | Line 471: | ||
}, | }, | ||
boilerplate = { | boilerplate = { | ||
intro = "'''$PAGE_NAME$''' is a | intro = "'''$PAGE_NAME$''' is a $OCCUPATION$ based in $COUNTRY$." | ||
}, | }, | ||
creatorFields = {"PAGE_NAME", "OCCUPATION", "COUNTRY"}, | |||
mappings = { | mappings = { | ||
-- REVIEW Community (Property:Has governance community) | -- REVIEW Community (Property:Has governance community) | ||
| Line 522: | Line 566: | ||
}, | }, | ||
boilerplate = { | boilerplate = { | ||
intro = "'''$PAGE_NAME$''' is a process started in | intro = "'''$PAGE_NAME$''' is a process started in $YEAR$." | ||
}, | }, | ||
creatorFields = {"PAGE_NAME", "YEAR"}, | |||
mappings = { | mappings = { | ||
-- Process (Property:Has process connection) | -- Process (Property:Has process connection) | ||
| Line 640: | Line 685: | ||
}, | }, | ||
boilerplate = { | boilerplate = { | ||
intro = "'''$PAGE_NAME$''' is a TLD proposed in | intro = "'''$PAGE_NAME$''' is a TLD proposed in $YEAR$." | ||
}, | }, | ||
creatorFields = {"PAGE_NAME", "YEAR"}, | |||
mappings = { | mappings = { | ||
-- Type (Property:Has TLD type) | -- Type (Property:Has TLD type) | ||