982
edits
(Created page with "Meta-schema and meta-category to define base properties for different types of resources. == See also == * Template:Resource == Subcategories == * Category:Video * Category:Document * Category:Code") |
No edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
Meta-schema and meta-category to define base properties for different types of resources. | <PageSchema> | ||
<pageforms_Form name="Resource"> | |||
<standardInputs inputFreeText="1" freeTextLabel="Free text"/> | |||
</pageforms_Form> | |||
<Template name="Resource" format="infobox"> | |||
<pageforms_TemplateDetails/> | |||
<semanticmediawiki_ConnectingProperty name=""/> | |||
<Field name="Description" display="nonempty"> | |||
<Label>Short Description</Label> | |||
<pageforms_FormInput> | |||
<InputType>text</InputType> | |||
<Description>Short ~1 sentence description of resource</Description> | |||
</pageforms_FormInput> | |||
<semanticmediawiki_Property name="Has Description"> | |||
<Type>Text</Type> | |||
</semanticmediawiki_Property> | |||
</Field> | |||
<Field name="Contributor" list="list" display="nonempty"> | |||
<Label>Contributors/Creators</Label> | |||
<pageforms_FormInput> | |||
<InputType>tokens</InputType> | |||
</pageforms_FormInput> | |||
<semanticmediawiki_Property name="Has Contributor"> | |||
<Type>Page</Type> | |||
</semanticmediawiki_Property> | |||
</Field> | |||
<Field name="Part of" list="list" display="nonempty"> | |||
<Label>Part of Project(s)</Label> | |||
<pageforms_FormInput> | |||
<InputType>tokens</InputType> | |||
<Description>Projects (either within the workshop or beyond it) that this resource is related to</Description> | |||
</pageforms_FormInput> | |||
<semanticmediawiki_Property name="Part of"> | |||
<Type>Page</Type> | |||
</semanticmediawiki_Property> | |||
</Field> | |||
<Field name="Topic" list="list" display="nonempty"> | |||
<Label>Topic(s)</Label> | |||
<pageforms_FormInput> | |||
<InputType>tokens</InputType> | |||
<Description>Keyword topics that this resource relates to</Description> | |||
</pageforms_FormInput> | |||
<semanticmediawiki_Property name="Has Topic"> | |||
<Type>Page</Type> | |||
</semanticmediawiki_Property> | |||
</Field> | |||
<Field name="URL" display="nonempty"> | |||
<Label>URL</Label> | |||
<pageforms_FormInput> | |||
<InputType>text</InputType> | |||
<Description>URL of homepage/public-facing URL of resource</Description> | |||
</pageforms_FormInput> | |||
<semanticmediawiki_Property name="Has URL"> | |||
<Type>URL</Type> | |||
</semanticmediawiki_Property> | |||
</Field> | |||
</Template> | |||
<Section name="Resource Subtypes" level="2"/> | |||
<Template name="Video" multiple="multiple" format="infobox"> | |||
<pageforms_TemplateDetails/> | |||
<semanticmediawiki_ConnectingProperty name=""/> | |||
<Field name=""> | |||
<pageforms_FormInput/> | |||
<semanticmediawiki_Property name=""> | |||
<Type>Page</Type> | |||
</semanticmediawiki_Property> | |||
</Field> | |||
<Field name="Video" display="nonempty"> | |||
<Label>Video (Local)</Label> | |||
<pageforms_FormInput> | |||
<InputType>text with autocomplete</InputType> | |||
<Parameter name="uploadable"/> | |||
<Description>Video that is directly uploaded to the wiki (.mp4 please!)</Description> | |||
</pageforms_FormInput> | |||
<semanticmediawiki_Property name="Has Video"> | |||
<Type>Page</Type> | |||
</semanticmediawiki_Property> | |||
</Field> | |||
</Template> | |||
<Template name="Document" multiple="multiple" format="infobox"> | |||
<pageforms_TemplateDetails/> | |||
<semanticmediawiki_ConnectingProperty name=""/> | |||
<Field name="PDF" display="nonempty"> | |||
<Label>PDF (local)</Label> | |||
<pageforms_FormInput> | |||
<InputType>text with autocomplete</InputType> | |||
<Parameter name="uploadable"/> | |||
<Description>PDF Uploaded directly to wiki</Description> | |||
</pageforms_FormInput> | |||
<semanticmediawiki_Property name="Has PDF"> | |||
<Type>Page</Type> | |||
</semanticmediawiki_Property> | |||
</Field> | |||
<Field name="Publisher" display="nonempty"> | |||
<Label>Publication Venue</Label> | |||
<pageforms_FormInput> | |||
<InputType>text with autocomplete</InputType> | |||
<Description>Place where document is published or archived (if any)</Description> | |||
</pageforms_FormInput> | |||
<semanticmediawiki_Property name="Published By"> | |||
<Type>Page</Type> | |||
</semanticmediawiki_Property> | |||
</Field> | |||
<Field name="DOI" display="nonempty"> | |||
<Label>DOI</Label> | |||
<pageforms_FormInput> | |||
<InputType>text</InputType> | |||
<Description>DOI (if applicable)</Description> | |||
</pageforms_FormInput> | |||
<semanticmediawiki_Property name="Has DOI"> | |||
<Type>External identifier</Type> | |||
</semanticmediawiki_Property> | |||
</Field> | |||
</Template> | |||
<Template name="Code" multiple="multiple" format="infobox"> | |||
<pageforms_TemplateDetails/> | |||
<semanticmediawiki_ConnectingProperty name=""/> | |||
<Field name="Programming Language" display="nonempty"> | |||
<Label>Programming Language</Label> | |||
<pageforms_FormInput> | |||
<InputType>text with autocomplete</InputType> | |||
</pageforms_FormInput> | |||
<semanticmediawiki_Property name="Has Programming Language"> | |||
<Type>Page</Type> | |||
</semanticmediawiki_Property> | |||
</Field> | |||
<Field name="Git Repo" display="nonempty"> | |||
<Label>Git Repository URL</Label> | |||
<pageforms_FormInput> | |||
<InputType>text</InputType> | |||
<Description>Repository URL (separate from main URL field above, which should be the homepage, if any)</Description> | |||
</pageforms_FormInput> | |||
<semanticmediawiki_Property name="Has git repo"> | |||
<Type>URL</Type> | |||
</semanticmediawiki_Property> | |||
</Field> | |||
<Field name="Docs"> | |||
<Label>Documentation URL</Label> | |||
<pageforms_FormInput> | |||
<InputType>text</InputType> | |||
</pageforms_FormInput> | |||
<semanticmediawiki_Property name="Has Documentation"> | |||
<Type>URL</Type> | |||
</semanticmediawiki_Property> | |||
</Field> | |||
<Field name="PyPI" display="nonempty"> | |||
<Label>PyPI package name</Label> | |||
<pageforms_FormInput> | |||
<InputType>text</InputType> | |||
<Description>(If applicable)</Description> | |||
</pageforms_FormInput> | |||
<semanticmediawiki_Property name="Has PyPI Package"> | |||
<Type>External identifier</Type> | |||
</semanticmediawiki_Property> | |||
</Field> | |||
<Field name="NPM" display="nonempty"> | |||
<Label>NPM package name</Label> | |||
<pageforms_FormInput> | |||
<InputType>text</InputType> | |||
<Description>(if applicable)</Description> | |||
</pageforms_FormInput> | |||
<semanticmediawiki_Property name="Has NPM Package"> | |||
<Type>External identifier</Type> | |||
</semanticmediawiki_Property> | |||
</Field> | |||
<Field name="CRAN" display="nonempty"> | |||
<Label>CRAN Package Name</Label> | |||
<pageforms_FormInput> | |||
<InputType>text</InputType> | |||
<Description>(if applicable)</Description> | |||
</pageforms_FormInput> | |||
<semanticmediawiki_Property name="Has CRAN Package"> | |||
<Type>External identifier</Type> | |||
</semanticmediawiki_Property> | |||
</Field> | |||
</Template> | |||
</PageSchema>Meta-schema and meta-category to define base properties for different types of resources. | |||
[[imported from::schema:CreativeWork]] | |||
== See also == | == See also == | ||
* [[:Form:Resource]] | |||
* [[:Template:Resource]] | * [[:Template:Resource]] | ||
* [[:Template:Video]] | |||
* [[:Template:Document]] | |||
* [[:Template:Code]] | |||
* [[: | |||
* [[: | |||
* [[: |