Template:Quest infobox: Difference between revisions

From Corsair Cove Official Wiki
WIP
 
Dorce (talk | contribs)
No edit summary
 
(6 intermediate revisions by one other user not shown)
Line 1: Line 1:
<div class="cc-infobox-quest cc-infobox-quest-background-wealth" style="max-width: 360px; float: right;">
<includeonly><!--
--><div class="cc-infobox-quest cc-infobox-quest-background-{{#if: {{{path|}}} <!--
---->|{{lc:{{{path}}}}}<!--
---->|generic}}" style="max-width: 360px;"><!--


<div class="cc-infobox-quest-title"><span>Old God's Maps</span></div>
** TITLE **


<!-- if path -->
----><div class="cc-infobox-quest-title"><!--
<div class="cc-infobox-quest-path-banner cc-panel-recolor-wealth"><span>Wealth</span></div>
------><span>{{#if: {{{title|}}}|{{{title}}}|Unnamed Quest}}</span><!--
----></div><!--


<!-- if theme picture -->
** PATH BANNER **
<div class="cc-infobox-quest-illustration-well">
[[File:Pirates with torches.png]]</div>


<div class="cc-infobox-quest-section-description">Raven is looking for a map of the Golden City in an ancient and presumably cursed temple.</div>
---->{{#if: {{{path|}}}<!--
------>| <div class="cc-infobox-quest-path-banner cc-panel-recolor-{{lc:{{{path}}}}}"><!--
-----------><span>{{{path}}}</span><!--
--------></div><!--
---->}}<!--


<!-- if recommended ship -->
** ILLUSTRATION **
<div class="cc-infobox-quest-section-difficulty"><span>Recommended Ship<span><hr>
<div style="display: flex; align-items: center; justify-content: center; gap: 16px;">{{Ship tier icon|4|path=Wealth|size=md}}<div style="text-align: center;">{{Gun damage icon|size=sm}}<br />0</div><!--<div style="text-align: center;">{{Boarding damage icon|size=sm}}<br />10</div>--><div style="text-align: center;">{{Speed icon|size=sm}}<br />10</div><div style="text-align: center;">{{Manoeuvrability icon|size=sm}}<br />10</div><div style="text-align: center;">{{Armour icon|size=sm}}<br />24</div>
</div>
</div>


<div class="cc-infobox-quest-section-rewards"><span>Rewards</span><hr>
---->{{#if: {{{image_filename|}}}<!--
<div style="display: flex; justify-content: center; gap: 16px;">{{Reward card|type=resource|Sabres|qty=50}}{{Reward card|qty=40}}</div>
------>| <div class="cc-infobox-quest-illustration-well"><!--
-------->[[File:{{{image_filename}}}]]<!--
--------></div><!--
---->}}<!--


</div>
** REGION **


</div>
---->{{#if: {{{region|}}}<!--
------>| <div class="cc-infobox-quest-region">{{{region}}}</div><!--
---->}}<!--


<br /><br /><br />
** DESCRIPTION **
 
----><div class="cc-infobox-quest-section-description"><!--
------>{{#if: {{{description|}}}<!--
-------->|{{{description}}}<!--
-------->|{{#if: {{{path|}}}|{{{path}}}|Generic&nbsp;}}Quest<!--
------>}}<!--
----></div><!--
 
** RECOMMENDED SHIP / DIFFICULTY **
 
---->{{#if: {{{recommended_ship_tier|}}}<!--
------>| <div class="cc-infobox-quest-section-difficulty"><!--
----------><span>Recommended Ship</span><!--
----------><hr><!--
----------><div style="display: flex; align-items: center; justify-content: center; gap: 16px; text-align: center;"><!--
------------>{{Ship tier icon|{{{recommended_ship_tier|}}}|path={{{recommended_ship_class|}}}|size=md}}<!--
------------>{{#if: {{{recommended_ship_gun_damage|}}}<!--
-------------->| <div>{{Gun damage icon|size=sm}}<br />{{{recommended_ship_gun_damage}}}</div><!--
------------>}}<!--
------------>{{#if: {{{recommended_ship_boarding_damage|}}}<!--
-------------->| <div>{{Boarding damage icon|size=sm}}<br />{{{recommended_ship_boarding_damage}}}</div><!--
------------>}}<!--
------------>{{#if: {{{recommended_ship_speed|}}}<!--
-------------->| <div>{{Speed icon|size=sm}}<br />{{{recommended_ship_speed}}}</div><!--
------------>}}<!--
------------>{{#if: {{{recommended_ship_manoeuvrability|}}}<!--
-------------->| <div>{{Manoeuvrability icon|size=sm}}<br />{{{recommended_ship_manoeuvrability}}}</div><!--
------------>}}<!--
------------>{{#if: {{{recommended_ship_armour|}}}<!--
-------------->| <div>{{Armour icon|size=sm}}<br />{{{recommended_ship_armour}}}</div><!--
------------>}}<!--
----------></div><!--
--------></div><!--
---->}}<!--
 
** REWARDS **
 
---->{{#if: {{{reward_1_type|}}}{{{reward_1_name|}}}{{{reward_1_qty|}}}<!--
------>| <div class="cc-infobox-quest-section-rewards"><!--
----------><span>Rewards</span><!--
----------><hr><!--
----------><div style="display: flex; justify-content: center; gap: 16px;"><!--
------------>{{Reward card|type={{{reward_1_type}}}|{{{reward_1_name|}}}|qty={{{reward_1_qty}}}}}<!--
------------>{{#if: {{{reward_2_type|}}}{{{reward_2_name|}}}{{{reward_2_qty|}}}<!--
-------------->| {{Reward card|type={{{reward_2_type}}}|{{{reward_2_name|}}}|qty={{{reward_2_qty}}}}}<!--
------------>}}<!--
------------>{{#if: {{{reward_3_type|}}}{{{reward_3_name|}}}{{{reward_3_qty|}}}<!--
-------------->| {{Reward card|type={{{reward_3_type}}}|{{{reward_3_name|}}}|qty={{{reward_3_qty}}}}}<!--
------------>}}<!--
----------></div><!--
--------></div><!--
---->}}<!--
--></div><!--
 
** CATEGORIES **
 
-->[[Category: Quest]]<!--
-->{{#if: {{{path|}}}|[[Category: {{{path}}}]]}}<!--
 
** END **
 
--></includeonly><noinclude>
__FORCETOC__
Generates an infobox with the specified information about the quest.
 
== Usage ==
 
{|class=wikitable
! Parameter !! Purpose
|-
| <code>title=</code> || the name or title of the quest
|-
| <code>path=</code> || One of the Principle Path names, or omit for a generic quest
* <code>Notoriety</code>
* <code>Empire</code>
* <code>Seafaring</code>
* <code>Wealth</code>
|-
| <code>image_filename=</code> || The filename of an optional thematic illustration or image, including the extension
|-
| <code>region=</code> || The specific region where the quest is unique found, or omit if non-specific or random
|-
| <code>description=</code> || The story, the in-game flavor text of the quest
|-
| <code>recommended_ship_tier=</code> || If there's a recommended ship, you must specify the tier
|-
| <code>recommended_ship_class=</code> || If there's a particular class of ship, identify it by its color according to one of the Principle Path names, or omit for a generic class. Same values as above.
|-
| <code>recommended_ship_gun_damage=</code> || Recommended ship stat
|-
| <code>recommended_ship_boarding_damage=</code> || ''"''
|-
| <code>recommended_ship_speed=</code> || ''"''
|-
| <code>recommended_ship_manoeuvrability=</code> || ''"''
|-
| <code>recommended_ship_armour=</code> || ''"''
|-
| <code>reward_1_type=</code> || First reward's type, see [[Template:Reward card]]
|-
| <code>reward_1_name=</code> || First reward's name
|-
| <code>reward_1_qty=</code> || First reward's quantity
|-
| <code>reward_2_type=</code> || ''"''
|-
| <code>reward_2_name=</code> || ''"''
|-
| <code>reward_2_qty=</code> || ''"''
|-
| <code>reward_3_type=</code> || ''"''
|-
| <code>reward_3_name=</code> || ''"''
|-
| <code>reward_3_qty=</code> || ''"''
|}
 
 
=== Examples ===
 
{{Quest infobox
|title=The Secret of Prosperity
|path=Wealth
|image_filename=T BloodSail.png
|region=Ancient Archipelago
|description=Months ago, the exploring vessel Prosperity disappeared without a trace. She was last seen in this region. Find out what happened to the ship and her crew.
|recommended_ship_tier=2
|recommended_ship_class=Wealth
|recommended_ship_gun_damage=
|recommended_ship_boarding_damage=
|recommended_ship_speed=12
|recommended_ship_manoeuvrability=12
|recommended_ship_armour=
|reward_1_type=path
|reward_1_name=Wealth
|reward_1_qty=3
|reward_2_type=
|reward_2_name=
|reward_2_qty=15
|reward_3_type=
|reward_3_name=
|reward_3_qty=
}}
<pre><!-- Template parameters are explained at https://wiki.hoodedhorse.com/Corsair_Cove/Template:Quest_infobox -->
{{Quest infobox
|title=The Secret of Prosperity
|path=Wealth
|image_filename=T BloodSail.png
|region=Ancient Archipelago
|description=Months ago, the exploring vessel Prosperity disappeared without a trace. She was last seen in this region. Find out what happened to the ship and her crew.
|recommended_ship_tier=2
|recommended_ship_class=Wealth
|recommended_ship_gun_damage=
|recommended_ship_boarding_damage=
|recommended_ship_speed=12
|recommended_ship_manoeuvrability=12
|recommended_ship_armour=
|reward_1_type=path
|reward_1_name=Wealth
|reward_1_qty=3
|reward_2_type=
|reward_2_name=
|reward_2_qty=15
|reward_3_type=
|reward_3_name=
|reward_3_qty=
}}</pre>
 
<div style="clear: both; height: 48px;"></div>
 
{{Quest infobox
|title=Amara's Scouting Vessel
|path=
|image_filename=
|region=Crossbone Keys
|description=Sailors reported an unfamiliar vessel roaming the Keys, flying no flag. Amara perhaps?
|recommended_ship_tier=2
|recommended_ship_class=
|recommended_ship_gun_damage=4
|recommended_ship_boarding_damage=4
|recommended_ship_speed=4
|recommended_ship_manoeuvrability=4
|recommended_ship_armour=
|reward_1_type=resource
|reward_1_name=Coins
|reward_1_qty=30
|reward_2_type=
|reward_2_name=
|reward_2_qty=
|reward_3_type=
|reward_3_name=
|reward_3_qty=
}}
<pre><!-- Template parameters are explained at https://wiki.hoodedhorse.com/Corsair_Cove/Template:Quest_infobox -->
{{Quest infobox
|title=Amara's Scouting Vessel
|path=
|image_filename=
|region=Crossbone Keys
|description=Sailors reported an unfamiliar vessel roaming the Keys, flying no flag. Amara perhaps?
|recommended_ship_tier=2
|recommended_ship_class=
|recommended_ship_gun_damage=4
|recommended_ship_boarding_damage=4
|recommended_ship_speed=4
|recommended_ship_manoeuvrability=4
|recommended_ship_armour=
|reward_1_type=resource
|reward_1_name=Coins
|reward_1_qty=30
|reward_2_type=
|reward_2_name=
|reward_2_qty=
|reward_3_type=
|reward_3_name=
|reward_3_qty=
}}</pre>
 
<div style="clear: both;"></div>
 
== Copypasta ==
 
Copy and paste this at the top of any article on a specific quest:
 
<pre><!-- Template parameters are explained at https://wiki.hoodedhorse.com/Corsair_Cove/Template:Quest_infobox -->
{{Quest infobox
|title=
|path=
|image_filename=
|region=
|description=
|recommended_ship_tier=
|recommended_ship_class=
|recommended_ship_gun_damage=
|recommended_ship_boarding_damage=
|recommended_ship_speed=
|recommended_ship_manoeuvrability=
|recommended_ship_armour=
|reward_1_type=
|reward_1_name=
|reward_1_qty=
|reward_2_type=
|reward_2_name=
|reward_2_qty=
|reward_3_type=
|reward_3_name=
|reward_3_qty=
}}</pre>
 
 
<hr style="clear: both;">


[[Category: Infobox templates]]
[[Category: Infobox templates]]
</noinclude>
</noinclude>

Latest revision as of 13:08, 3 August 2026


Generates an infobox with the specified information about the quest.

Usage

Parameter Purpose
title= the name or title of the quest
path= One of the Principle Path names, or omit for a generic quest
  • Notoriety
  • Empire
  • Seafaring
  • Wealth
image_filename= The filename of an optional thematic illustration or image, including the extension
region= The specific region where the quest is unique found, or omit if non-specific or random
description= The story, the in-game flavor text of the quest
recommended_ship_tier= If there's a recommended ship, you must specify the tier
recommended_ship_class= If there's a particular class of ship, identify it by its color according to one of the Principle Path names, or omit for a generic class. Same values as above.
recommended_ship_gun_damage= Recommended ship stat
recommended_ship_boarding_damage= "
recommended_ship_speed= "
recommended_ship_manoeuvrability= "
recommended_ship_armour= "
reward_1_type= First reward's type, see Template:Reward card
reward_1_name= First reward's name
reward_1_qty= First reward's quantity
reward_2_type= "
reward_2_name= "
reward_2_qty= "
reward_3_type= "
reward_3_name= "
reward_3_qty= "


Examples

The Secret of Prosperity
Wealth
Ancient Archipelago
Months ago, the exploring vessel Prosperity disappeared without a trace. She was last seen in this region. Find out what happened to the ship and her crew.
Recommended Ship
2
Speed
12
Manoeuvrability
12
Rewards
Wealth
3
Cohesion
15
<!-- Template parameters are explained at https://wiki.hoodedhorse.com/Corsair_Cove/Template:Quest_infobox -->
{{Quest infobox
|title=The Secret of Prosperity
|path=Wealth
|image_filename=T BloodSail.png
|region=Ancient Archipelago
|description=Months ago, the exploring vessel Prosperity disappeared without a trace. She was last seen in this region. Find out what happened to the ship and her crew.
|recommended_ship_tier=2
|recommended_ship_class=Wealth
|recommended_ship_gun_damage=
|recommended_ship_boarding_damage=
|recommended_ship_speed=12
|recommended_ship_manoeuvrability=12
|recommended_ship_armour=
|reward_1_type=path
|reward_1_name=Wealth
|reward_1_qty=3
|reward_2_type=
|reward_2_name=
|reward_2_qty=15
|reward_3_type=
|reward_3_name=
|reward_3_qty=
}}
Amara's Scouting Vessel
Crossbone Keys
Sailors reported an unfamiliar vessel roaming the Keys, flying no flag. Amara perhaps?
Recommended Ship
2
Gun Damage
4
Boarding damage
4
Speed
4
Manoeuvrability
4
Rewards
Coins
30
<!-- Template parameters are explained at https://wiki.hoodedhorse.com/Corsair_Cove/Template:Quest_infobox -->
{{Quest infobox
|title=Amara's Scouting Vessel
|path=
|image_filename=
|region=Crossbone Keys
|description=Sailors reported an unfamiliar vessel roaming the Keys, flying no flag. Amara perhaps?
|recommended_ship_tier=2
|recommended_ship_class=
|recommended_ship_gun_damage=4
|recommended_ship_boarding_damage=4
|recommended_ship_speed=4
|recommended_ship_manoeuvrability=4
|recommended_ship_armour=
|reward_1_type=resource
|reward_1_name=Coins
|reward_1_qty=30
|reward_2_type=
|reward_2_name=
|reward_2_qty=
|reward_3_type=
|reward_3_name=
|reward_3_qty=
}}

Copypasta

Copy and paste this at the top of any article on a specific quest:

<!-- Template parameters are explained at https://wiki.hoodedhorse.com/Corsair_Cove/Template:Quest_infobox -->
{{Quest infobox
|title=
|path=
|image_filename=
|region=
|description=
|recommended_ship_tier=
|recommended_ship_class=
|recommended_ship_gun_damage=
|recommended_ship_boarding_damage=
|recommended_ship_speed=
|recommended_ship_manoeuvrability=
|recommended_ship_armour=
|reward_1_type=
|reward_1_name=
|reward_1_qty=
|reward_2_type=
|reward_2_name=
|reward_2_qty=
|reward_3_type=
|reward_3_name=
|reward_3_qty=
}}