Template:BubbleNav: Difference between revisions
SimpleArrows (talk | contribs) mNo edit summary Tag: Manual revert |
SimpleArrows (talk | contribs) mNo edit summary |
||
| Line 1: | Line 1: | ||
<div class="bubble-container"> | <includeonly><div class="bubble-container"> | ||
{| class="bubble-table" | {| class="bubble-table" | ||
|{{{title}}} | |{{{title}}} | ||
| Line 5: | Line 5: | ||
|class="bubble-linkrow"|{{{links}}} | |class="bubble-linkrow"|{{{links}}} | ||
|} | |} | ||
</div> | </div></includeonly><noinclude> | ||
<pre> | |||
{{BubbleNav | |||
|title = | |||
|links = | |||
}} | |||
</pre> | |||
'''Guide to each parameter:''' View [[Template:Bubble]] for more information on how to use. | |||
<pre> | |||
{{BubbleNav | |||
|title = A bubble template is used here. ONLY use the types "explore" and "none" - | |||
"explore" type: | |||
Used on main game pages. For text, only put a link to the game. | |||
"none" type: | |||
Used on individual pages. For example, it can be used as a title for a list of locations of a game. In this case, the text would be "Locations of [main game page link here]". | |||
|links = One or more bubble templates can be used here. ONLY use the "link" type. | |||
}} | |||
</pre> | |||
'''Usage:''' | |||
<pre> | |||
{{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}} | |||
}} | |||
</pre> | |||
'''Output:''' | |||
{{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}} | |||
}} | |||
</noinclude> | |||
Revision as of 15:21, 23 January 2024
{{BubbleNav
|title =
|links =
}}
Guide to each parameter: View Template:Bubble for more information on how to use.
{{BubbleNav
|title = A bubble template is used here. ONLY use the types "explore" and "none" -
"explore" type:
Used on main game pages. For text, only put a link to the game.
"none" type:
Used on individual pages. For example, it can be used as a title for a list of locations of a game. In this case, the text would be "Locations of [main game page link here]".
|links = One or more bubble templates can be used here. ONLY use the "link" type.
}}
Usage:
{{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: