Plantilia:Hatnote inline
Agus-usar daytoy a plantilia iti Lua: |
Daytoy dokumentasion a subpanid ti plantilia ket saan pay wenno agdama pay laeng a maipatpatarus. No kayat ti tumulong nga agipatarus kadagiti kastoy a panid, kitaen ti Kategoria:Dagiti subpanid ti dokumentasion a nasken a maipatarus. |
This is a meta-template for development of additional, more specific templates. If you intend to use the template inline in articles or other pages, use {{crossreference}} (shortcuts or {{crossref}} and {{xref}} ) or other specific templates based on this metatemplate, e.g. {{seeabove}} and {{seebelow}} . |
The {{Hatnote inline}} meta-template formats text into a standardized style for an inline (not block-level) variant of a Wikipedia:Hatnote, a short note placed at the point of insertion, to link to more information or otherwise cross-reference another Wikipedia page. like this:
The most common uses for this meta-template are:
- Inline "(See also ...)"-type parenthetical Wikipedia crossreferences to other Wikipedia pages, provided by the
{{crossreference}}
template and its progeny. These are unprintworthy Wikipedia self-references. - Hatnotes inside definitions in template-formatted glossaries, provided by the
{{ghat}}
template. These are printworthy, as they refer to content on the same page.
Panagusar
urnosen- Nalaka panagusar
{{hatnote inline|text}}
- Amin dagiti parametro
{{hatnote inline|text|extraclasses=class1 class2|selfref=yes|category=no}}
Ti meta-plantilia ket saan nga automatiko nga agpartuat kadagiti silpoiti ania man a kita. Dagiti silpo ken dagiti sabali a kayat a panagpormat ket nasken a nalawag nga inayon, babaen ti panagusar ti normal a panagmarka iti Wikipedia.
Dagiti parametro
urnosenDaytoy a palntilia ket mangawat kadagiti sumaganad a parametro:
|1=
or|text=
or|content=
the inline hatnote's text (required). While the explicit naming of this parameter with1=
,text=
, orcontent=
is not required, it is always safest to use it this way, since any=
character in the text will break the template if the parameter is unnamed.|class=
or|extraclasses=
any extra CSS classes to be added. This should not normally be used.|selfref=no
– if set to no (or n, false, 0, etc.) removes the default CSS classselfref
, used to denote unprintworthy self-references to Wikipedia . This option should not be used to indicate a non-selfref on cross-article links, only links within the same article (and the derived shorthand templates{{See above}}
and{{See below}}
do this automatically). The parameter alias|printworthy=yes
(or with any other value, like y, true, 1, etc.) has the same effect as|selfref=no
. Note the attempting to manually supply a "this is a selfref" value with|selfref=yes
or|printworthy=no
will not have the desired effect (which is the default anyway); the meta-template is set to selfref by default, since most uses are self-references (only those within the same article as the template are not).|category=
if set to no (or n, false, 0, etc., suppresses the error-tracking category (Kategoria:Dagiti plantilia ti hatnote nga agraman kadagiti biddut). This only has an effect if the first positional parameter (the hatnote text) is omitted. This should not normally be used.
Dagiti teknikal a salaysay
urnosenThe meta-template places an HTML <span>...</span>
container around the text entered as its first, required parameter, upon which it provides standardized formatting (italicized in most displays, and only stylistically, not as semantic emphasis); it also uses CSS classes to isolate the contained code to make sure that it is interpreted correctly and can be acted upon independently of true article content.
The HTML code produced by this template looks like this:
<span class="hatnote">hatnote text</span>
This is the same class used by the <div>
-based {{hatnote}}
template, the block display of which is controlled by a separate div.hatnote
directive in Mediawiki:Common.css.
Ti maiparuar ket patauden babaen ti Modulo:Hatnote inline.
Kitaen pay
urnosen- Dagiti baw-ing − no adda, dagiti sabali a nagan daytoy a plantilia a mabalin a mausar
- Plantilia:Dagiti plantilia ti hatnote
Dagiti plantilia a naibatay iti daytoy a meta-plantilia
urnosen- {{Crossreference}} (a.k.a. {{Crossref}}, {{Xref}})