Template:Nav act: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(Created page with "<includeonly><table class="relative-location navigation-not-searchable" style="float:right; width:405px; clear:right;"> <tr> {{#ifeq:{{SUBPAGENAME}}|approval|<td>Act One</td><td>Act Two</td><td>Act Three</td>|<td>Act One</td><td>Act Two</td><td>Act Three</td>}} </tr> {{#if: {{{img|}}}|<tr><td colspan = 3>[[File:{{{img}}}|400px|{{{img alt|}}}]]</td></tr>|}} </table></includeonly><noinclude> {{nav...")
 
No edit summary
Line 1: Line 1:
<includeonly><table class="relative-location navigation-not-searchable" style="float:right; width:405px; clear:right;">
<includeonly>{{Sidebar
<tr>
| name    = Nav act
{{#ifeq:{{SUBPAGENAME}}|approval|<td>[[Act One/approval|Act One]]</td><td>[[Act Two/approval|Act Two]]</td><td>[[Act Three/approval|Act Three]]</td>|<td>[[Act One]]</td><td>[[Act Two]]</td><td>[[Act Three]]</td>}}
| title    =  
</tr>
| image = {{#if:{{{img|}}}|[[File:{{{img|}}}|400px|alt={{{img alt|}}}]]}}
{{#if: {{{img|}}}|<tr><td colspan = 3>[[File:{{{img}}}|400px|{{{img alt|}}}]]</td></tr>|}}
| heading1  = Acts
</table></includeonly><noinclude>
| content1class = hlist
| content1      =
* [[Act One]]
* [[Act Two]]
* [[Act Three]]
| heading2  = Endings
| content2class = hlist
| content2      =  
* [[Endings]]
* [[Game Over screens]]
* [[Epilogue]]
}}</includeonly><noinclude>
{{nav act}}
{{nav act}}



Revision as of 02:09, 6 February 2024

For Act page navigation, usage:

{{nav act}}

or

{{nav act|img=|img alt=}}

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