Template:TabsBar/preload: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{TabsBar/tab|$1 (GoldSrc)|GoldSrc}}
<includeonly>{{TabsBar/page}}{{subst:#if: CREATING TABSBAR                                                                                                           
                                                                                                                                         
                                                                                                                                         
                                                                                                                                         
                                                                                                                                         
                              }}
<<noinclude />includeonly>
 
<<noinclude />onlyinclude>{{TabsBar/tab|$1 (GoldSrc)|GoldSrc}}
{{TabsBar/tab|$1|Source Engine}}
{{TabsBar/tab|$1|Source Engine}}
{{TabsBar/tab|$1 (Source 2)|Source 2}}
{{TabsBar/tab|$1 (Source 2)|Source 2}}<<noinclude />/onlyinclude>
 
<<noinclude />/includeonly>


{{subst:#if:  
{{subst:#if:  


you are creating tabs bar for page '$1' as main
you are creating tabs bar for page '$1' as main
! edit only text within onlyinclude tags !


Usage of TabsBar/tab
Usage of TabsBar/tab
* first param = page link (will be automatically appended based on language prefix so this is usable on all translations of a page)
* first param = page link (on translated pages link is automatically changed based on language prefix)
* second param = name of the tab
* second param = name of the tab


see page 'Template:TabsBar/Player' for example of more tabs used
see page 'Template:TabsBar/Player' for example of more tabs used


THIS NOTICE WITHIN THE #if IS REMOVED AUTOMATICALLY REMOVED AFTER SAVING THE PAGE
TEXT WITHIN THE subst:#if IS REMOVED AUTOMATICALLY AFTER SAVING THIS PAGE
}}</includeonly>
}}</includeonly>

Latest revision as of 16:05, 8 February 2025