Template:TabsBar/page: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 7: Line 7:
{{code|<nowiki>{{TabsBar|main=</nowiki>{{#titleparts:{{PAGENAME}}||2}}<nowiki>}}</nowiki>}}
{{code|<nowiki>{{TabsBar|main=</nowiki>{{#titleparts:{{PAGENAME}}||2}}<nowiki>}}</nowiki>}}
{{#ifexist:{{FULLPAGENAME}}||<div class="plainlinks" style="display:flex; align-items:center; justify-content:center; margin-left:auto">
{{#ifexist:{{FULLPAGENAME}}||<div class="plainlinks" style="display:flex; align-items:center; justify-content:center; margin-left:auto">
<div>[{{fullurl:{{NAMESPACE}}:{{BASEPAGENAME}}|action=purge}} <font style="display:inline-flex; background:#36C; border-radius:3px; color:#FFF; font-weight:bold; white-space:nowrap; position:relative; z-index:10; padding:6px 10px">Purge this page to see the TabsBar</font>]</div>
<div>[{{fullurl:{{FULLPAGENAME}}|action=purge}} <font style="display:inline-flex; background:#36C; border-radius:3px; color:#FFF; font-weight:bold; white-space:nowrap; position:relative; z-index:10; padding:6px 10px">Purge this page to see the TabsBar</font>]</div>
</div>}}
</div>}}
[[Category:TabsBar template]]</onlyinclude>
[[Category:TabsBar template]]</onlyinclude>


</includeonly>
</includeonly>

Revision as of 04:47, 26 May 2025

This adds uselangflags, preview of the tabs bar and category on Template:TabsBar/* pages