Redigerer
Mal:Dfn/dok
(avsnitt)
Hopp til navigering
Hopp til søk
Advarsel:
Du er ikke innlogget. IP-adressen din vil bli vist offentlig om du redigerer. Hvis du
logger inn
eller
oppretter en konto
vil redigeringene dine tilskrives brukernavnet ditt, og du vil få flere andre fordeler.
Antispamsjekk.
Ikke
fyll inn dette feltet!
===Parameters=== There are two basic parameters, the mandatory first parameter, the <var>term</var>, and the optional second one, the <var>definition</var>: :{{tlx|dfn|<var>term</var>}} :{{tlx|dfn|<var>term</var>|<var>definition</var>}} If the <var>definition</var> parameter is supplied and the reader's browser supports the functionality, moving browser focus to the term (e.g., hovering the mouse cursor over it, or in some browsers using keyboard navigation to tab to it) will change the cursor to the "help" version (usually a question mark) and bring up the definition text in a pop-up tool tip (or some other interface, as provided by the browser in question). Without a second parameter, no such underlining and tool tip effects occur. It is safest to explicitly number them, but this is only absolutely required if the content contains an equals sign somewhere: :{{bxt|{{tnull|dfn|1{{=}}<var>term</var>|2{{=}}<var>definition</var>}}}} :{{bxt|{{tnull|dfn|<var>term</var>|2{{=}}<var>definition</var>}}}} – this works if only the <var>definition</var> has a "=" in it. :{{!bxt|{{tnull|dfn|1{{=}}<var>term</var>|<var>definition</var>}}}} – this fails; if parameter 1 is numbered, so must be parameter 2 If no <var>definition</var> is provided, the template is invisible: :{{tnull|dfn|ecdysis|moulting of the exoskeleton}} results in: {{dfn|ecdysis|moulting of the exoskeleton}} :<code><nowiki>{{dfn|ecdysis}}, the moulting of the exoskeleton</nowiki></code> results in: {{dfn|ecdysis}}, the moulting of the exoskeleton :<code><nowiki>[[Ecdysis|{{dfn|ecdysis}}]]</nowiki></code> results in: [[Ecdysis|{{dfn|ecdysis}}]] The "invisible" second and third cases won't be noticed by casual readers, but can still be detected and acted upon by internal and external software (statistics-gathering bots, rich Web 2.0 applications, etc.), and can provide valuable contextual information to editors. The <var>definition</var> parameter is most commonly omitted when the text following the term provides the defining content inline in the prose, or when the term is linked to an explanation elsewhere, as shown above. A common case of this is when an article provides a bold-faced term and an explanation of it, often at the start of a paragraph or section, indicating a significant side-topic in the article, subordinate to the main article subject boldfaced in the lead. ====Other optional parameters==== *{{para|title|<var>exact, plaintext term being defined</var>}} – used a) when the content in the first parameter (term) contains any wikimarkup or HTML; or b) when the term being defined is actually slightly different from (i.e. more precise than) the marked up content; the true term being defined goes in this parameter. Any double-quotation mark (<code>"</code>) must be escaped, as <code>&quot;</code>.<br />Real-world example: showing imprecise term in text and its precise official name as the {{para|title}}, with escaped quotation marks: {{tnull|dfn|Mac OS X Lion|title{{=}}Mac OS X 10.7 &quot;Lion&quot;}}, which results in: {{dfn|Mac OS X Lion|title=Mac OS X 10.7 "Lion"}} (hover over it to see that tooltip is different from base content)<br /> *{{para|id|<var>an_ID</var>}} – an ID (no spaces, must begin with alphabetic letter) for #linking and possibly other purposes *{{para|style|<var>arbitrary:css;</var>}} – CSS directives for custom-styling the instance *{{para|class|<var>css_class</var>}} – a CSS class or classes (separated by spaces not commas if more than one)
Redigeringsforklaring:
Merk at alle bidrag til Wikisida.no anses som frigitt under Creative Commons Navngivelse-DelPåSammeVilkår (se
Wikisida.no:Opphavsrett
for detaljer). Om du ikke vil at ditt materiale skal kunne redigeres og distribueres fritt må du ikke lagre det her.
Du lover oss også at du har skrevet teksten selv, eller kopiert den fra en kilde i offentlig eie eller en annen fri ressurs.
Ikke lagre opphavsrettsbeskyttet materiale uten tillatelse!
Avbryt
Redigeringshjelp
(åpnes i et nytt vindu)
Forhåndsvis en side som bruker denne malen
Denne siden er medlem av 1 skjult kategori:
Kategori:Sider hvor ekspansjonsdybden er overskredet
Navigasjonsmeny
Personlige verktøy
Ikke logget inn
Brukerdiskusjon
Bidrag
Opprett konto
Logg inn
Navnerom
Mal
Diskusjon
norsk bokmål
Visninger
Les
Rediger kilde
Vis historikk
Mer
Navigasjon
Forside
Siste endringer
Tilfeldig side
Hjelp til MediaWiki
Verktøy
Lenker hit
Relaterte endringer
Spesialsider
Sideinformasjon