「テンプレート:Citation Style documentation/ref」の版間の差分
ナビゲーションに移動
検索に移動
bsd>Waldyrious (allow better anchor link in Template:Citation/doc) |
bsd>Waldyrious (allow better anchor link in Template:Citation/doc) |
2022年12月30日 (金) 01:46時点における版
- ref: the citation's HTML anchor identifier, when different from its default. When set,
|ref=IDgenerates an anchor with the givenID(theid=attribute in the citation's<cite id="ID">HTML tag). Setting|ref=IDidentifies the template as a target and allows wikilinking to full references, especially useful with short-form citations like shortened notes and parenthetical referencing. The default anchor ID is suitable for use with {{sfn}} and {{harv}} templates. Since April 2020, the parameter / keyword pair|ref=harvhas no special meaning; this deprecated setting should not be used and may be removed from existing cs1|2 templates. To inhibit anchor ID creation, set|ref=none. Aliases: none.