Infobox

From Wikidocumentaries
Revision as of 21:00, 25 December 2018 by Susanna Ånäs (talk | contribs) (Images & media)
Jump to navigation Jump to search

Wikidata-section.png

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.

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

Multiple values

  • 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

  • Qualifiers should be displayed when available. There may be complex rules for displaying them…

References

  • 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

Globe coordinate

  • About: Literal data for a geographical position given as a latitude-longitude pair in gms or decimal degrees for the given stellar body. Defaults to "Earth" and then "WGS84". It adds a resolution and range.
    • latitude – implicit first part (float, dms, dm, dd) of the coordinate string, direction is either given by prefixed sign or by postfixed N/S
    • longitude – implicit second part (float, dms, dm, dd) of the coordinate string, direction is either given by prefixed sign or by postfixed E/W
    • globe – explicit (?) data value, given as stellar body that defaults to Earth "http://www.wikidata.org/entity/Q2"
    • precision - numeric precision of the coordinate
  • Wikidocumentaries: Displayed in WGS format for copying to other systems. Link to the map display?

Monolingual text

  • Wikidocumentaries: Language flag included, for example: Nimi Niminen (fi).

Quantity

  • Wikidocumentaries: Lot of work to display the units. Take advantage of infobox work.

String

  • Wikidocumentaries: as is

Tabular data

  • Wikidocumentaries: Link to Commons

Time

  • Wikidocumentaries: Dates are displayed in localized formats 1990/12/24 (in English) 24.12.1990 in Finnish, if possible.

URL

  • Wikidocumentaries: External links are made as pretty as possible. Perhaps use the title as the link text to avoid long links

External identifier

  • Wikidocumentaries: External link with the link body, if possible. Not a priority.

Item

  • Wikidocumentaries: Local link. See different styles in #Links

Property

  • Wikidocumentaries: Link to Wikidata

Mathematical expression

  • Wikidocumentaries: as is

Lexeme

  • Wikidocumentaries: need to investigate more

Form

  • Wikidocumentaries: need to investigate more

Exclude

Images & media

Show as images in the page.

  • P18 image // Can be used to select the featured image
  • P242 locator map image // Old technology
  • P94 coat of arms image // To the header section
  • P154 logo image
  • P41 flag image
  • P1442 image of grave
  • P1943 location map
  • P996 scanned file on Wikimedia Commons
  • P948 page banner // Not useful, but can be shown if wanted
  • P15 route map
  • P109 signature // To the header
  • P443 pronunciation audio → Display in a specific location
  • P3451 nighttime view
  • P2716 collage image

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
  • P935 Commons gallery
  • P373 Commons category
  • P2633 geography of topic
  • P2184 history of topic
  • P5008 on focus list of Wikimedia project
  • P5125 Wikimedia outline

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.


Navigation

About Technology Design Content modules Tool pages Projects
Status

Wikidocumentaries blog

Wikidocumentaries demo

Phabricator project

Facebook group

GitHub repository

Translation in TranslateWiki

Wikidocumentaries Slack

Setting up dev environment

Resources

Translations

Languages

Using Wikibase

Federation with Wikidata

APIs

Linking

Media metadata

Properties to content

User registration

Licensing

Page types

Landing page

Search page

Topic page

User page

Organisation page

Project page

Tool page

Tasks

Components

Main toolbar and footer

Search

Faceting

Topic page header

Content module

Dropdown

Modal

Icons

Active modules

Article

Family tree

Gallery

Historical map

Images

Image viewer

Infobox

Map

Module ideas

Audio/Video

Bibliography

Correspondence

Discussion

Graph

Name

Newspaper articles

Testimonials

Timeline

Visualizations

Wikidocumentary

3D

Visual editor

Query tool

QuickStatements

Open Refine

Creating topics

Uploading images

Geolocating tool

Metadata editor

Rectifying maps

Transcription

Annotation tool

Central Park Archives

Convent Quarter

Wikisource