Anonymous user
Module:Citation/CS1/Configuration: Difference between revisions
Module:Citation/CS1/Configuration (view source)
Revision as of 06:35, 20 February 2016
, 8 years agoSynch from sandbox;
(Synch from sandbox;) |
(Synch from sandbox;) |
||
Line 118:
['bdi'] = '<bdi$1>$2</bdi>', -- bidirectional isolation used with |script-title= and the like
['cite'] = '<cite class="$1">$2</cite>'; -- |ref= not set so no id="..." attribute
['cite-id'] = '<cite id="$1" class="$2">$3</cite>'; -- for use when |ref= is set
['format'] = ' <span style="font-size:85%;">($1)</span>', -- for |format=, |chapter-format=, etc
Line 128 ⟶ 131:
['nowrap1'] = '<span class="nowrap">$1</span>', -- for nowrapping an item: <span ...>yyyy-mm-dd</span>
['nowrap2'] = '<span class="nowrap">$1</span> $2', -- for nowrapping portions of an item: <span ...>dd mmmm</span> yyyy (note white space)
['ocins'] = '<span title="$1" class="Z3988"><span style="display:none;"> </span></span>', -- Note: Using display: none on the COinS span breaks some clients
['parameter'] = '<code style="'..code_style..'">|$1=</code>',
Line 139 ⟶ 144:
}
--[[--------------------------< A L I A S E S >----------------------------------------------------------------
Line 512 ⟶ 518:
anchor = 'bad_pmid',
category = 'CS1 errors: PMID',
hidden = false },
bad_oclc = {
message = 'Check <code style="'..code_style..'">|oclc=</code> value',
anchor = 'bad_oclc',
category = 'CS1 errors: OCLC',
hidden = false },
bad_url = {
Line 783 ⟶ 794:
link = 'OCLC',
label = 'OCLC',
mode = '
prefix = '//www.worldcat.org/oclc/',
COinS = 'info:oclcnum',
|