Šablonas:Parentitle/doc

14:57, 11 balandžio 2025 versija, sukurta M0dii (aptarimas | indėlis) (Naujas puslapis: {{documentation}} This template is used to determine if the <tt>no-parenthesis-style</tt> class is to be added to a page, in order to suppress the styling applied to parentheses in article titles. See rsw:Forum:Two visual changes for more information. ==Usage== <pre>{{parentitle|parameter to check}}</pre> The template checks the parameter against the pagename. If they are the same, or if the parameter is empty, the class is added, otherwise nothing is added. The mos...)
(skirt) ← Ankstesnė versija | Dabartinė versija (skirt) | Vėlesnė versija → (skirt)
Tai yra dokumentacijos antrinis puslapis, skirtas Šablonas:Parentitle.
Jame yra naudojimo informacijos, kategorijų ir kito turinio, kuris nėra pradinio template puslapio dalis.

This template is used to determine if the no-parenthesis-style class is to be added to a page, in order to suppress the styling applied to parentheses in article titles. See rsw:Forum:Two visual changes for more information.

Usage Keisti

{{parentitle|parameter to check}}

The template checks the parameter against the pagename. If they are the same, or if the parameter is empty, the class is added, otherwise nothing is added.

The most common usage (as implemented in most infoboxes) is

{{parentitle|{{{name}}}}}


This template should be placed inside of a class attribute and can be combined with other classes, eg:

<span class="{{parentitle|{{{name}}}}}">...</span>

or

{| class="infobox {{parentitle|{{{name}}}}}" ...

See also Keisti