Difference between revisions of "Infobox"
Jump to navigation
Jump to search
Susanna Ånäs (talk | contribs) (→Exceptions) |
Susanna Ånäs (talk | contribs) |
||
Line 18: | Line 18: | ||
* References should be displayed, maybe as a collapsible part of the statement. | * References should be displayed, maybe as a collapsible part of the statement. | ||
− | ===Datatype default display | + | ===Property-qualifier combos=== |
− | + | These properties are used together, one being the qualifier of the other | |
+ | * P528 catalog code | ||
+ | ** P972 catalog as qualifier | ||
+ | * P217 inventory number | ||
+ | ** P195 collection as qualifier | ||
+ | |||
+ | ===Links=== | ||
+ | * Link structure: domain/page/QID/title (optional)/language-code (optional) | ||
+ | * The link ALWAYS points to/creates a Wikidocumentaries page regardless of whether the title, description or article exist in the user's language | ||
+ | * EXISTING article link is shown normally | ||
+ | * MISSING article link can be styled differently, but the link remains the same. | ||
+ | * EXTERNAL Links with external identifiers will be constructed to point to external resources, and are styled differently. | ||
+ | |||
+ | ===Location data=== | ||
+ | It will be possible to derive location data from one type of data. Require only one: | ||
+ | coordinates | ||
+ | street address | ||
+ | |||
+ | ==Datatype default display== | ||
+ | ===Commons media=== | ||
* About: ''Link to files stored at Wikimedia Commons. When a value is entered, the "File" namespace on Commons will be searched for matching files.'' | * About: ''Link to files stored at Wikimedia Commons. When a value is entered, the "File" namespace on Commons will be searched for matching files.'' | ||
* Wikidocumentaries: For those that are not hidden and used elsewhere, display link to Commons, text can be the filename. | * Wikidocumentaries: For those that are not hidden and used elsewhere, display link to Commons, text can be the filename. | ||
* [https://www.wikidata.org/wiki/Special:ListProperties/commonsMedia List of properties with this data type] | * [https://www.wikidata.org/wiki/Special:ListProperties/commonsMedia List of properties with this data type] | ||
− | + | ===Geographic shape=== | |
* About: Link to geographic map data stored on Wikimedia Commons (or other configured wiki). See "https://www.mediawiki.org/wiki/Help:Map_Data" for more documentation about map data. | * About: Link to geographic map data stored on Wikimedia Commons (or other configured wiki). See "https://www.mediawiki.org/wiki/Help:Map_Data" for more documentation about map data. | ||
* Wikidocumentaries: Link to Commons | * Wikidocumentaries: Link to Commons | ||
* [https://www.wikidata.org/wiki/Special:ListProperties/geo-shape List of properties with this data type] | * [https://www.wikidata.org/wiki/Special:ListProperties/geo-shape List of properties with this data type] | ||
− | + | ===Globe coordinate=== | |
* Wikidocumentaries: Displayed in WGS format for copying to other systems. Link to the map display? | * Wikidocumentaries: Displayed in WGS format for copying to other systems. Link to the map display? | ||
Line 74: | Line 93: | ||
===Redundant information=== | ===Redundant information=== | ||
* P30 continent (for small-scale items) // Useless repetition | * P30 continent (for small-scale items) // Useless repetition | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==Special use for Wikidata properties== | ==Special use for Wikidata properties== |
Revision as of 19:47, 25 December 2018
An infobox created from Wikidata, where the links link to pages inside Wikidocumentaries. The values can be edited in Wikidata. Editing can be made available in Wikidocumentaries as well.
Contents
Toolbar
- View/edit in Wikidata
- Expand window to reveal all data
Default content
- Type missing: The type of ___ is missing. You can use the first sentence of the article to help choose.
- Description missing: The description for ___ is missing. You can add it by clicking here.
- Name missing in the user's language: In the header part: Title in fallback language. The language in smaller letters. Link: Add title in your language. Icon: Pen.
Formatting
- Generally, all values will be displayed, except when there is one preferred value. In that case only the preferred value is shown.
- Multiple values can either be displayed as a list or conflated to a list with a conjunction between the items, for example: A, B, and C (in English) and A, B ja C (in Finnish)
- Qualifiers should be displayed when available. There may be complex rules for displaying them…
- References should be displayed, maybe as a collapsible part of the statement.
Property-qualifier combos
These properties are used together, one being the qualifier of the other
- P528 catalog code
- P972 catalog as qualifier
- P217 inventory number
- P195 collection as qualifier
Links
- Link structure: domain/page/QID/title (optional)/language-code (optional)
- The link ALWAYS points to/creates a Wikidocumentaries page regardless of whether the title, description or article exist in the user's language
- EXISTING article link is shown normally
- MISSING article link can be styled differently, but the link remains the same.
- EXTERNAL Links with external identifiers will be constructed to point to external resources, and are styled differently.
Location data
It will be possible to derive location data from one type of data. Require only one: coordinates street address
Datatype default display
Commons media
- About: Link to files stored at Wikimedia Commons. When a value is entered, the "File" namespace on Commons will be searched for matching files.
- Wikidocumentaries: For those that are not hidden and used elsewhere, display link to Commons, text can be the filename.
- List of properties with this data type
Geographic shape
- About: Link to geographic map data stored on Wikimedia Commons (or other configured wiki). See "https://www.mediawiki.org/wiki/Help:Map_Data" for more documentation about map data.
- Wikidocumentaries: Link to Commons
- List of properties with this data type
Globe coordinate
- Wikidocumentaries: Displayed in WGS format for copying to other systems. Link to the map display?
- Monolingual text – language flag included, for example: Nimi Niminen (fi).
- Quantity – Lot of work to display the units. Take advantage of infobox work.
- String – as is
- Tabular data – Link to Commons
- Time – Dates are displayed in localized formats 1990/12/24 (in English) 24.12.1990 in Finnish, if possible.
- URL – External links are made as pretty as possible. Perhaps use the title as the link text to avoid long links
- External identifier – External link with the link body, if possible. Not a priority.
- Item – Local link
- Property – Link to Wikidata
- Mathematical expression – as is
- Lexeme – need to investigate more
- Form – need to investigate more
Exclude
Images & media
Show as images in the page.
- P94 coat of arms image // To the header section
- P242 locator map image // Old technology
- P18 image // Can be used to select the featured image
- P948 page banner // Not useful, but can be shown if wanted
- P2716 collage image
- P109 signature // To the header
- P443 pronunciation audio → Display in a specific location
Wikimedia-specific links, such as Wikipedia categories
Include in other content components. Hide or show in infobox?
- P910 topic's main category → No idea
- P1464 category for people born here // To special section
- P1465 category for people who died here // To special section
- P1791 category of people buried here // To special section
- P1792 category of associated people // To special section
- P1740 category for films shot at this location // To special section
- P1472 Commons Creator page // Could also be shown
- P2959 permanent duplicated item // Wikidata internal, can be shown if wanted
Geodata
Display on the map.
- P3896 geoshape // To the map if feasible
- P625 coordinate location // To the map
Redundant information
- P30 continent (for small-scale items) // Useless repetition
Special use for Wikidata properties
See Properties to content. This is also written in https://docs.google.com/document/d/188wq0wPusnbyw9EiCQRDprn5JPDHgnwU_4_hn7jbJrg/edit#
Ideas to develop
- Import datasets or view items from a database and import automatically or through verification.
About | Technology | Design | Content modules | Tool pages | Projects |
Status
Wikidocumentaries Slack |
Setting up dev environment |
Components |
Active modules Module ideas |
Visual editor | Central Park Archives |