Template:BubbleNav: Difference between revisions
SimpleArrows (talk | contribs) mNo edit summary |
SimpleArrows (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly><div class="bubble-container"> | <includeonly><div class="bubble-container" id="{{#if: {{{nodivider|}}} | bubble-nodivider}}"> | ||
{| class="bubble-table" | {| class="bubble-table" | ||
|{{{title}}} | |{{{title}}} | ||
Line 8: | Line 8: | ||
<pre> | <pre> | ||
{{BubbleNav | {{BubbleNav | ||
|title = | |nodivider = | ||
|links = | |title = | ||
|links = | |||
}} | }} | ||
</pre> | </pre> | ||
Line 16: | Line 17: | ||
<pre> | <pre> | ||
{{BubbleNav | {{BubbleNav | ||
|nodivider = Use "yes" to denote that there should be no divider on the bottom of this {{BubbleNav}}. Use this parameter on any {{BubbleNav}}'s that are above another. Make sure only the bottom {{BubbleNav}} has the divider by leaving the parameter blank or omitting it. | |||
|title = A bubble template is used here. ONLY use the "explore" type. - | |title = A bubble template is used here. ONLY use the "explore" type. - | ||
Line 32: | Line 35: | ||
'''Usage:''' | '''Usage:''' | ||
<pre> | <pre> | ||
{{BubbleNav | |||
|nodivider = yes | |||
|title = | |||
{{Bubble|explore|[[Red Faction: Guerrilla]]|Icon_RFG.png|Red Faction: Guerrilla}} | |||
|links = | |||
{{Bubble|link|[[RF:G Editing Main Page|Modding]]|Icon_RFG.png|RF:G Editing Main Page}} | |||
{{Bubble|link|[[Red Faction: Guerrilla Campaign Guide|Campaign]]|Icon_RFGBadge1.png|Red Faction: Guerrilla Campaign Guide}} | |||
{{Bubble|link|[[Red Faction: Guerrilla Multiplayer Guide|Multiplayer]]|Icon_RFGBadge2.png|Red Faction: Guerrilla Multiplayer Guide}} | |||
{{Bubble|link|[[Wrecking Crew]]|Icon_RFGBadge3.png|Wrecking Crew}} | |||
{{Bubble|link|[[Red Faction: Guerrilla Vehicles|Vehicles]]|Icon_RFGVehicle.png|Red Faction: Guerrilla Vehicles}} | |||
{{Bubble|link|[[Red Faction: Guerrilla Locations|Locations]]|Icon_RFGSafehouse.png|Red Faction: Guerrilla Locations}} | |||
}} | |||
{{BubbleNav | {{BubbleNav | ||
|title = | |title = | ||
Line 46: | Line 62: | ||
'''Output:''' | '''Output:''' | ||
{{BubbleNav | |||
|nodivider = yes | |||
|title = | |||
{{Bubble|explore|[[Red Faction: Guerrilla]]|Icon_RFG.png|Red Faction: Guerrilla}} | |||
|links = | |||
{{Bubble|link|[[RF:G Editing Main Page|Modding]]|Icon_RFG.png|RF:G Editing Main Page}} | |||
{{Bubble|link|[[Red Faction: Guerrilla Campaign Guide|Campaign]]|Icon_RFGBadge1.png|Red Faction: Guerrilla Campaign Guide}} | |||
{{Bubble|link|[[Red Faction: Guerrilla Multiplayer Guide|Multiplayer]]|Icon_RFGBadge2.png|Red Faction: Guerrilla Multiplayer Guide}} | |||
{{Bubble|link|[[Wrecking Crew]]|Icon_RFGBadge3.png|Wrecking Crew}} | |||
{{Bubble|link|[[Red Faction: Guerrilla Vehicles|Vehicles]]|Icon_RFGVehicle.png|Red Faction: Guerrilla Vehicles}} | |||
{{Bubble|link|[[Red Faction: Guerrilla Locations|Locations]]|Icon_RFGSafehouse.png|Red Faction: Guerrilla Locations}} | |||
}} | |||
{{BubbleNav | {{BubbleNav | ||
|title = | |title = |
Revision as of 03:42, 26 January 2024
{{BubbleNav |nodivider = |title = |links = }}
Guide to each parameter: View Template:Bubble for more information on how to use.
{{BubbleNav |nodivider = Use "yes" to denote that there should be no divider on the bottom of this {{BubbleNav}}. Use this parameter on any {{BubbleNav}}'s that are above another. Make sure only the bottom {{BubbleNav}} has the divider by leaving the parameter blank or omitting it. |title = A bubble template is used here. ONLY use the "explore" type. - "explore" type: Used on main game pages. * If the navigation is intended for use on a main game page: only put the game's link as the text. * If the navigation is intended for use on subpages: For example, if they are pages part of a larger collection, such as RF:G's locations. The text would link to the "Red Faction: Guerrilla Locations" page. Make sure to read any pages with this template for more context such as the ones just mentioned. "none" type: This type is not intended to be used for the title, but is there if needed. This type removes the "Explore" label and only contains the text and icon. |links = One or more bubble templates can be used here. ONLY use the "link" type. }}
Usage:
{{BubbleNav |nodivider = yes |title = {{Bubble|explore|[[Red Faction: Guerrilla]]|Icon_RFG.png|Red Faction: Guerrilla}} |links = {{Bubble|link|[[RF:G Editing Main Page|Modding]]|Icon_RFG.png|RF:G Editing Main Page}} {{Bubble|link|[[Red Faction: Guerrilla Campaign Guide|Campaign]]|Icon_RFGBadge1.png|Red Faction: Guerrilla Campaign Guide}} {{Bubble|link|[[Red Faction: Guerrilla Multiplayer Guide|Multiplayer]]|Icon_RFGBadge2.png|Red Faction: Guerrilla Multiplayer Guide}} {{Bubble|link|[[Wrecking Crew]]|Icon_RFGBadge3.png|Wrecking Crew}} {{Bubble|link|[[Red Faction: Guerrilla Vehicles|Vehicles]]|Icon_RFGVehicle.png|Red Faction: Guerrilla Vehicles}} {{Bubble|link|[[Red Faction: Guerrilla Locations|Locations]]|Icon_RFGSafehouse.png|Red Faction: Guerrilla Locations}} }} {{BubbleNav |title = {{Bubble|explore|[[Red Faction: Guerrilla]]|Icon_RFG.png|Red Faction: Guerrilla}} |links = {{Bubble|link|[[RF:G Editing Main Page|Modding]]|Icon_RFG.png|RF:G Editing Main Page}} {{Bubble|link|[[Red Faction: Guerrilla Campaign Guide|Campaign]]|Icon_RFGBadge1.png|Red Faction: Guerrilla Campaign Guide}} {{Bubble|link|[[Red Faction: Guerrilla Multiplayer Guide|Multiplayer]]|Icon_RFGBadge2.png|Red Faction: Guerrilla Multiplayer Guide}} {{Bubble|link|[[Wrecking Crew]]|Icon_RFGBadge3.png|Wrecking Crew}} {{Bubble|link|[[Red Faction: Guerrilla Vehicles|Vehicles]]|Icon_RFGVehicle.png|Red Faction: Guerrilla Vehicles}} {{Bubble|link|[[Red Faction: Guerrilla Locations|Locations]]|Icon_RFGSafehouse.png|Red Faction: Guerrilla Locations}} }}
Output: