Changes

Jump to navigation Jump to search
4,160 bytes added ,  23:55, 30 September 2019
module moved
<includeonly>{{#invoke:Cite Q|cite_q
|qid={{{1}}}

<!-- Simple parameters from Wikidata -->

| publisher = {{#invoke:WikidataIB |getValue |qid={{{1}}} |P123 |fetchwikidata=ALL |onlysourced=no |noicon=true}}
| oclc = {{#invoke:wd|property|{{{1}}}|P243}}
| place = {{ #property:P291 |from={{{1}}} }}
| doi = {{ #property:P356 |from={{{1}}} }}
| issue = {{ #property:P433 |from={{{1}}} }}
| pmid = {{ #property:P698 |from={{{1}}} }}
| ol = {{#invoke:String|replace|{{#invoke:wd|property|{{{1}}}|P648}}|^OL(.+)$|%1|plain=false}}
| arxiv = {{ #property:P818 |from={{{1}}} }}
| bibcode = {{wdib |ps=1 |P819 |qid={{{1}}} }}<!-- {{ #property:P819 |from={{{1}}} }} -->
| jstor = {{ #property:P888 |from={{{1}}} }}
| mr = {{ #property:P889 |from={{{1}}} }}
| ssrn = {{ #property:P893 |from={{{1}}} }}
| pmc = {{ #property:P932 |from={{{1}}} }}
| lccn = {{ #property:P1144 |from={{{1}}} }}
| hdl = {{ #property:P1184 |from={{{1}}} }}
| ismn = {{ #property:P1208 |from={{{1}}} }}
| journal = {{ #property:P1433 |from={{{1}}} }}
| citeseerx = {{ #property:P3784 |from={{{1}}} }}
| osti = {{ #property:P3894 |from={{{1}}} }}
| biorxiv = {{ #property:P3951 |from={{{1}}} }}


<!-- Special handling of Wikidata parameters -->

| isbn = {{#if: {{ #property:P212 |from={{{1}}} }} <!-- if ISBN 13 -->
| {{ #property:P212 |from={{{1}}} }} <!-- use ISBN 13 -->
| {{ #property:P957 |from={{{1}}} }} <!-- else use ISBN 10 -->
}}

| others = {{#if: {{ #property:P110 |from={{{1}}} }} <!-- is there an illustrator? -->
|Illustrator: {{ #property:P110 |from={{{1}}} }} <!-- use illustrator -->
| <!-- else do nothing -->
}}


<!-- Optionally-local parameters -->

| chapter = {{#if: {{{chapter|}}} <!-- is chapter specified? -->
| {{{chapter}}} <!-- use locally-specified value -->
| {{ #property:P792 |from={{{1}}} }} <!-- else fetch from Wikidata -->
}}

| date = {{#if: {{{date|}}} <!-- is date specified? -->
| {{{date}}} <!-- use date -->
| {{ #property:P577 |from={{{1}}} }} <!-- else use date from Wikidata -->
}}

| series = {{#if: {{{series|}}} <!-- is series specified? -->
| {{{series}}} <!-- use series -->
| {{ #property:P179 |from={{{1}}} }} <!-- else use series from Wikidata -->
}}

| volume = {{#if: {{{volume|}}} <!-- is volume specified? -->
| {{{volume}}} <!-- use volume -->
| {{ #property:P478 |from={{{1}}} }} <!-- else use volume from Wikidata -->
}}

| title = {{#if: {{ #property:P1476 |from={{{1}}} }} <!-- is there a title -->
| {{ #property:P1476 |from={{{1}}} }} <!-- use title -->
| {{#if:{{{url|}}}{{ #property:P856 |from={{{1}}} }}
|{{#invoke:WikidataIB |getLabel | {{{1}}} }} <!-- don't mix |url= and a wikilinked |title= -->
|{{#invoke:WikidataIB |getLink | {{{1}}} }} <!-- else use label from Wikidata -->
}}
}}

| url = {{#if: {{{url|}}} <!-- is url specified? -->
| {{{url}}} <!-- use url -->
| {{ #property:P856 |from={{{1}}} }} <!-- else use url from Wikidata -->
}}
| pages = {{{pages|{{ #property:P304 |from={{{1}}} }}}}}
}}{{#ifeq:{{{mode}}}|cs1||,}}&nbsp;[[Wikidata]] [[:d:{{{1}}}|{{{1}}}]]</includeonly><noinclude>
{{documentation}}
</noinclude>
Anonymous user

Navigation menu