Redigerer
Mal:Wikidata/dok
(avsnitt)
Hopp til navigering
Hopp til søk
Advarsel:
Du er ikke innlogget. IP-adressen din vil bli vist offentlig om du redigerer. Hvis du
logger inn
eller
oppretter en konto
vil redigeringene dine tilskrives brukernavnet ditt, og du vil få flere andre fordeler.
Antispamsjekk.
Ikke
fyll inn dette feltet!
=== Named arguments === Below follows a description of all named arguments, which are name-value pairs (i.e. <code>|name=value</code>). These are all optional and can be given anywhere {{module other|after the first command|inside the call}}. {| class="wikitable" |- ! Argument ! Description ! Command class |- ! style="text-align:right;" | <code>eid=</code> | '''<code>{{color|red|[EXPENSIVE]}}</code>''' This argument can be used to give the '''Q-identifier''' (e.g. <code>|eid=Q55</code>) or '''P-identifier''' (or an available '''[[#Property aliases|alias]]''') of the entity to be accessed. It offers the same functionality as the [[#Positional arguments|positional argument <code>entity_id</code>]], with one difference: if the argument is given but its value is left empty (i.e. <code>|eid=</code>), then no entity is accessed at all instead of the item-entity connected to the current page. This is useful in some cases where a variable entity-ID is expected, but where the item-entity connected to the current page should not be accessed as the default. Also, the <code>Property:</code> prefix may be omitted for P-identifiers (e.g. <code>|eid=P38</code>) for all commands. This argument only has effect if the positional argument <code>entity_id</code> is omitted. | [[#Claim class|claim]], [[#General class|general]] |- ! style="text-align:right;" | <code>page=</code> | '''<code>{{color|red|[EXPENSIVE]}}</code>''' This argument can be used to give the '''page title''' (e.g. <code>|page=Netherlands</code>) of the Wikipedia article whose connected item-entity is to be accessed. It behaves similar to the named argument <code>eid=</code> and can be used instead of the [[#Positional arguments|positional argument <code>entity_id</code>]] (note that no prefixed colon, <code>:</code>, is required). If the argument is given but its value is left empty (i.e. <code>|page=</code>), then no entity is accessed at all instead of the item-entity connected to the current page. This argument only has effect if the positional argument <code>entity_id</code> and the named argument <code>eid=</code> are omitted. | claim, general |- ! style="text-align:right;" | <code>date=</code> | This argument can be used to set a particular date (e.g. <code>|date=1731-02-11</code>) relative to which claim matching using the [[#Configuration flags|<code>future</code>, <code>current</code> and <code>former</code> flags]] is done, instead of relative to today. It overrides the default of these flags to <code>current</code> so that by default only claims that were valid at the given date are returned (based on the claims' qualifiers of {{wpl|P580}} and {{wpl|P582}}). The date value must be formatted <code>yyyy-mm-dd</code> (e.g. <code>1731-02-11</code>), <code>yyyy-mm</code> (e.g. <code>1731-02</code>) or <code>yyyy</code> (e.g. <code>1731</code>). | claim |- ! style="text-align:right;" | <code>''<qualifier>''=</code> | The <code>''<qualifier>''</code> is a placeholder for a set of arguments that determine which claims should be accessed based on qualifier value, analogous to the pair of [[#Positional arguments|positional arguments <code>property_id</code> and <code>raw_value</code>]] (that determine access based on property value). As such, <code>''<qualifier>''</code> is any qualifier's '''P-identifier''' (or an available '''[[#Property aliases|alias]]''') without the <code>Property:</code> prefix (e.g. <code>P518</code>). Its value is either the '''Q-identifier''' equal to one of the qualifier values (e.g. <code>Q27561</code>) or a '''literal value''' (i.e. string or quantity etc., ''no entity label'') equal to one of the raw qualifier values of the particular claim to be accessed. The value format is the same as for the positional argument <code>raw_value</code>. The special type ''''no value'''' given by the empty string also matches the total absence within the claim of the particular qualifier. Example: <code>|P518=Q27561</code> Multiple arguments of this type can be given to match multiple qualifier values simultaneously for each claim. | claim |}
Redigeringsforklaring:
Merk at alle bidrag til Wikisida.no anses som frigitt under Creative Commons Navngivelse-DelPåSammeVilkår (se
Wikisida.no:Opphavsrett
for detaljer). Om du ikke vil at ditt materiale skal kunne redigeres og distribueres fritt må du ikke lagre det her.
Du lover oss også at du har skrevet teksten selv, eller kopiert den fra en kilde i offentlig eie eller en annen fri ressurs.
Ikke lagre opphavsrettsbeskyttet materiale uten tillatelse!
Avbryt
Redigeringshjelp
(åpnes i et nytt vindu)
Forhåndsvis en side som bruker denne malen
Navigasjonsmeny
Personlige verktøy
Ikke logget inn
Brukerdiskusjon
Bidrag
Opprett konto
Logg inn
Navnerom
Mal
Diskusjon
norsk bokmål
Visninger
Les
Rediger kilde
Vis historikk
Mer
Navigasjon
Forside
Siste endringer
Tilfeldig side
Hjelp til MediaWiki
Verktøy
Lenker hit
Relaterte endringer
Spesialsider
Sideinformasjon