Documentation icon Andoza hujjati[koʻrib chiqish] [tahrirlash] [tarix] [yangilash]

Andoza:Important

The Template:DISPLAYTITLE directly invokes magic word {{DISPLAYTITLE:___}} to set the formatting of the title of the page which contains it. It can be used to show part of a page title in italics, show a leading colon ":" or shift to superscripted or subscripted text.

Namunalar tahrir

Notice the use of the ":" instead of "|" as separator.

Sarlavha Sehrli oʻzgaruvchi Oʻzgargan sarlavha
Lorem ipsum dolor {{DISPLAYTITLE:Lorem ''ipsum'' dolor }} Lorem ipsum dolor
Book:Lorem ipsum dolor sit amet {{DISPLAYTITLE:BooK:Lorem ipsum dolor sit amet}} BooK:Lorem ipsum dolor sit amet
Portal:Lorem ipsum dolor sit {{DISPLAYTITLE:: _ Portal _ _ _ : _ _ _ Lorem ipsum_dolor sit}} : _ Portal _ _ _ : _ _ _ Lorem ipsum dolor sit
Kalai's 3^d conjecture {{DISPLAYTITLE:Kalai's 3<span style="position:absolute; top: -9999px">^</span ><sup>''d''</sup> conjecture}} Kalai's 3^d conjecture
E sub 0 {{DISPLAYTITLE:E<span style="position:absolute; top: -9999px"> sub </span ><sub>0</sub> }} E sub 0
Lorem ipsum dolor sit {{DISPLAYTITLE:Lorem ''ipsum'' do{{{2}}}or sit}} Lorem ipsum dolor sit ← (unchanged as capital "L" does not match original)

Note that some parts of a title can be hidden by using a span-tag (with "position:absolute; top: -9999px") to shift some text off-screen, such as: <span style="position:absolute; top: -9999px">^</span>, to hide a caret "^" before a superscript in a title, or similar to hide the word " sub " before a subscript.

Shuningdek qarang tahrir