Template:Nav act: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
No edit summary
(Added documentation/template demo templates)
 
(One intermediate revision by one other user not shown)
Line 9: Line 9:
* [[Act Two]]
* [[Act Two]]
* [[Act Three]]
* [[Act Three]]
| heading2  = Endings
| heading2  = End
| content2class = hlist
| content2class = hlist
| content2      =  
| content2      =  
* [[Endings]]
* [[Endings]]
* [[Epilogue]]
* [[Game Over screens]]
* [[Game Over screens]]
* [[Epilogue]]
}}</includeonly><noinclude>{{Documentation|content=
}}</includeonly><noinclude>
{{nav act}}
 
{{nav act|img=Chapter 1.webp|img alt=hello}}
For ''Act'' page navigation, usage:


<code><nowiki>{{nav act}}</nowiki></code>
For ''Act'' page navigation.


or
== Example ==
{{Template demo
| style = list
| <nowiki>{{nav act}}</nowiki>
| <nowiki>{{nav act|img=Chapter 1.webp|img alt=hello}}</nowiki>
}}


<code><nowiki>{{nav act|img=|img alt=}}</nowiki></code>
{{clear}}
{{clear}}
==Template data==
==Template data==
Line 46: Line 46:
"description": "Nav bar for Act pages and Act/approval pages"
"description": "Nav bar for Act pages and Act/approval pages"
}
}
</templatedata></noinclude>
</templatedata>
}}
[[Category:Templates]]
[[Category:Sidebar templates]]
</noinclude>

Latest revision as of 20:28, 19 January 2025

Template documentation

For Act page navigation.

Example

Markup
{{nav act}}
Renders as
Markup
{{nav act|img=Chapter 1.webp|img alt=hello}}
Renders as

Template data

Nav bar for Act pages and Act/approval pages

Template parameters

ParameterDescriptionTypeStatus
imgimg

A display image for the Act

Example
Chapter 1.webp
Filesuggested
img altimg alt

Alternative text displayed when the image cannot be rendered.

Example
Act One of Baldur's Gate 3 opening on the Crashed Nautiloid - Baldur's Gate 3 Wiki
Stringsuggested