Ŝablono:Markita referenco

Referenca ŝablonofamilio
La ŝablonofamilio {{Markita referenco}} estas uzenda por lokigi nomiitajn referencojnn, notojn kaj referencojn en artikolon, kun nomoj norme estante alklakeblaj ligiloj por deiri de referaĵo al notu kaj revene. La ligiloj kaj rtroligoj estas interne identigitaj kombinante la specifigitajn parametrojn. La ŝablonoj akceptas varian nombron da parametroj identigitaj per sia pozicio kaj opcie nomita parametro noid kie kiam uzata devus alpreni la valoron "noid=noid".
Tre simpla ekzemplo
Artikolo | Vikiteksto | ||||
---|---|---|---|---|---|
Teksto kiu bezonas piednoton{{Markita referenco|nomo|1|none}} ==Notoj== :1.{{Markita noto|nomo|1|none}} Korpo de piednoto. |
Notoj
|
Notnomoj estu unikaj
Komuna eraro uzante {{Markita referenco}} is estas uzi ĝin plurfoje kun la sama nomo. Ekzemple:
Teksto kiu bezonas piednoton{{Markita referenco|nomo|1|1}} Alia teksto kiu bezonas piednoton{{Markita referenco|nomo|1|1}} ==Notoj== :1.{{Markita noto|nomo|1}} Korpo de piednoto.
Tio estigas du citaĵojn kun sama nomo, kio estas nevalida HTML-kodaĵo. Por solvi tiun problemon uzu pluropan unikan identigilon; Vidu Pli komplikajn ekzemplojn.
Simplaj ekzemploj
{{Markita referenco}} kaj {{Markita noto}}
Ekzemplo:
Artikolteksto{{Markita referenco|referencnomo_A|a|none}} plia teksto{{Markita referenco|referencnomo_B|b|none}} plia teksto {{Markita referenco|referencnomo_C|c|none}}. *Listteksto{{Markita referenco|referencnomo_B|b|none}} *Listteksto{{Markita referenco|referencnomo_C|c|none}}. * intera teksto * *{{Markita noto|referencnomo_A|a|a}}Teksto por noto a. *{{Markita noto|referencnomo_B|b|b}}Teksto por noto b. *{{Markita noto|referencnomo_C|c|etendita emfazaĵo}}Teksto por noto c
Tio estigos:
Tradukenda
Notice that the navigation back from the note to the ref does not work by clicking the backlink for refs which specify "noid=noid". In practice, if "noid=noid" is specified, it is usually specified for all refs having identical unnamed parameters, and navigation back to the associated ref is done by using the browser's "Back" button.
Also notice that browsers which support highlighting of link-accessed material highlight the active backlink by default, and that the highlighting has been extended to encompass the Teksto por noto c by specifying that text as a final template parameter instead of placing it outside of the template.
Pli komplikaj ekzemploj
Tradukenda'
Tabelaj piednotoj
Unu komuna uzo por la ŝablonoj {{Markita referenco}} kaj {{Markita noto}} estas lokigo de piednotoj sub tabelon kiel en ekzemplo forprenita de artikolo en:Kent#Economy:
Por ebligi antaŭvidon <ol type="A"> estas uzata por estigi la necesan liston.
Year | Regional GVA[A] | Agriculture | Industry[B] | Services[C] | |||
---|---|---|---|---|---|---|---|
County of Kent (excluding Medway) | |||||||
1995 | 12,369 | 379 | 3.1% | 3,886 | 31.4% | 8,104 | 65.5% |
2000 | 15,259 | 259 | 1.7% | 4,601 | 30.2% | 10,399 | 68.1% |
2003 | 18,126 | 287 | 1.6% | 5,057 | 27.9% | 12,783 | 70.5% |
Medway | |||||||
1995 | 1,823 | 21 | 3.1% | 560 | 31.4% | 1,243 | 68.2% |
2000 | 2,348 | 8 | 1.7% | 745 | 30.2% | 1,595 | 67.9% |
2003 | 2,671 | 10 | 1.6% | 802 | 27.9% | 1,859 | 69.6% |
- [rounding] Components may not sum to totals due to rounding
- [energy] includes energy and construction
- [financial] includes financial intermediation services indirectly measured
Kombinante referencajn ŝablonojn kaj la alternativan referencan stilon
An example combining the use of Ref-family templates with the alternative referencing style might be something like
Yammer yammer yammer.<ref name=smith2000>Smith wrote the definitive book on yammering.{{Markita referenco|nomo|Smith2000|Smith 2000}} </ref>Yammer yammer yammer.<ref name=smith2000/> ... ==Referencoj== <References/> ... ==Bibliografio== *{{Markita noto|nomo|Smith2000}}, Smith 2000, "A book about yammering".
which could produce something like:
- ...
- ==Bibliografio==
- [Smith2000], Smith 2000, "A book about yammering".
Also see examples and explanation in en:Wikipedia:Footnote3.
Ekstera ilo
A third-party tool to translate articles using the templates described on this page into the Cite.php system is available, see Ref converter.
Vidu ankaŭ
tradukenda
- en:Wikipedia:Footnotes — Discussion about this reference method
- en:Wikipedia:Template messages/Sources of articles
- en:Template:Ref — Template for references using this method
- en:Template:Ref label — Same as {{Markita referenco}}, but with more features
- en:Template:Footnote label — Same as, and redirect to, {{Ref label}}, but ignored by bots that convert {{Ref label}} and {{Markita referenco}} to Cite.php references; for use of these templates for informational footnotes as opposed to reference citations
- en:Template:Note — Template for footnotes using this method
- en:Template:Note label — Same as Note, but with more features
- en:Category:Citation templates — More citation templates, some of which are not part of the Ref/Note Label system
Se vi havas demandon pri ĉi tiu ŝablono, tiam vi povas demandi en la ŝablonprojekta diskutejo. La Intervikiaj ligiloj estu metataj al Vikidatumoj. (Vidu Helpopaĝon pri tio.) |
![]() |
|