Talk:A Woman's Case/Archive 1

Latest comment: 7 years ago by Trappist the monk in topic use of Template:Ill in cs1|2 templates
Archive 1

use of Template:Ill in cs1|2 templates

An IP editor has reverted and calls into question the rationale for my edit.

cs1|2 citation templates produce COinS metadata that is used by readers who consume citations by way of external machine tools. Some (most) templates are created so that they produce correct renderings of information tuned to readers who consume them visually. {{Ill}} is one such template. The {{cite book}} template in question contains the {{ill}} template:

{{ill|Haifa University Press|he|הוצאת הספרים של אוניברסיטת חיפה}}

which produces this visual rendering:

Haifa University Press [he]

To do that, the template adds certain html, css, and wiki markup:

[[Haifa University Press]]<span class="noprint" style="font-size:85%; font-style: normal; ">&nbsp;&#91;[[:he:הוצאת הספרים של אוניברסיטת חיפה|he]]&#93;</span>

all of which, except for the category markup, is percent encoded and included in the publisher field of the citation's metadata:

&rft.pub=Haifa+University+Press%3Cspan+class%3D%22noprint%22+style%3D%22font-size%3A85%25%3B+font-style%3A+normal%3B+%22%3E+%28heA%29%3C%2Fspan%3E

The correct metadata element should simply be:

&rft.pub=Haifa+University+Press

If links to other-language wikis in cs1|2 templates must be provided (questionable in |publisher=), then standard interwiki links may be used:

[[:he:הוצאת הספרים של אוניברסיטת חיפה|Haifa University Press]]

I removed the italic markup from the {{cite book}} |script-title= parameter because in cs1|2, non-Latin language scripts in |script-title= parameters are, intentionally, not italicized, primarily to aid in visual readability. I removed the |access-date= parameter because books are not ephemeral sources that may change day-today.

Trappist the monk (talk) 11:57, 4 April 2017 (UTC)

Archive 1