Template:PartTimeJobInfo: Difference between revisions
mNo edit summary |
mNo edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{| class="wikitable infotable" style="width: | <includeonly>{| class="wikitable infotable" style="width:70%; border:3px solid var(--main-bg-color); margin-top:0px; margin-bottom:0px; margin-left:auto; margin-right:auto;" | ||
! style="width:80%; background-color: var(--main-bg-color); color:white; border:3px solid var(--main-bg-color);"|Task {{#ifeq:{{{Skill Ranks?|}}}|YES|{{PartTimeJobInfo/RankHeader}}|}} | ! style="width:80%; background-color: var(--main-bg-color); color:white; border:3px solid var(--main-bg-color);"|Task {{#ifeq:{{{Skill Ranks?|}}}|YES|{{PartTimeJobInfo/RankHeader}}|}} | ||
{{{Part Time Job Rows|}}} | |||
|}</includeonly> | |}</includeonly> | ||
<noinclude> | <noinclude> | ||
{{Documentation}} | |||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 19:10, 9 May 2024
[edit]Template Documentation
Tabbed Part-Time Jobs
Part-Time Jobs | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Untabbed Template for Part-Time Jobs
Task | Rank |
---|---|
Task Example | F |
Task Example | F |
Description
This is the "PartTimeJobInfo" template.
This template is for adding Part Time Job Information onto NPC pages.
How to Use
The main "Part-Time Jobs" box is just copy-pasting this set of code:
{| class="wikitable infotable mw-collapsible mw-collapsed" style="width:100%; max width:600px; border:3px solid var(--main-bg-color);" |- ! style="width=600px; background-color:var(--main-bg-color); border:3px solid var(--main-bg-color); color:white;"|Part-Time Jobs |- | <!----- INSERT TABS WITH JOBS IN HERE ----> |}
For Part-Time Jobs, Tabs are utilized. Make sure that you pasted the listed jobs within each specific tab category that they fall under: Basic, Intermediate, or Advanced.
<tabs> <tab style="width: 100%" name="Basic"> <!---- PASTE BASIC JOBS ( 0 - 49 ) HERE ----> </tab> <tab style="width: 100%" name="Intermediate"> <!---- PASTE INTERMEDIATE ( 50 - 99 ) JOBS HERE ----> </tab> <tab style="width: 100%" name="Advanced"> <!---- PASTE ADVANCED ( 100+ ) JOBS HERE ----> </tab> </tabs>
The template itself should be called in the following format:
{{PartTimeJobInfo | Skill Ranks?= | Part Time Job Rows= <!------> {{PartTimeJobInfo/Row |Task= |Ranks?= |Rank Needed={{PartTimeJobInfo/Rank|Rank= }}<!------>}} }}
Parameters
Parameter | Usage | Example |
---|---|---|
Skill Ranks? | This is to determine whether the header row will include "Rank" at the top. This is for Part-Time Jobs that require crafting. Put YES if it requires crafting. Otherwise, leave blank or type NO. |
| Skill Ranks?= YES |
Part Time Job Rows | These are where the individual part time jobs will go. The code is:<!------> {{PartTimeJobInfo/Row |Task= |Ranks?= |Rank Needed={{PartTimeJobInfo/Rank|Rank= }}<!------>}} Paste that code for as many Part-Time Job requests there are, with <!------>as the separator between each row. |
<!------> {{PartTimeJobInfo/Row |Task= |Ranks?= |Rank Needed={{PartTimeJobInfo/Rank|Rank= }}<!------>}} <!------> {{PartTimeJobInfo/Row |Task= |Ranks?= |Rank Needed={{PartTimeJobInfo/Rank|Rank= }}<!------>}} |
Task | This is where the requirement/objective of the Part-Time Job would go. If a specific item is needed to be crafted, link the item's Part-Time Job Manual and Item page (if a page exists.) |
<!------> {{PartTimeJobInfo/Row |Task= Craft 2 [[mww:Weeding Hoe|Weeding Hoes]] ( [[Blacksmithing Manuals#Weeding Hoe (Part-Time Job)|Manual]] ) |Ranks?= |Rank Needed={{PartTimeJobInfo/Rank|Rank= }}<!------>}} |
Ranks? | This is exactly like the "Skill Ranks?" section of the template. 'Both Ranks?' and 'Skill Ranks?' needs to be the EXACT SAME, or the template will not display properly. Type YES if skill crafting is involved. Otherwise, leave blank or type NO. | <!------> {{PartTimeJobInfo/Row |Task= Craft 2 [[mww:Weeding Hoe|Weeding Hoes]] ( [[Blacksmithing Manuals#Weeding Hoe (Part-Time Job)|Manual]] |Ranks?= YES |Rank Needed={{PartTimeJobInfo/Rank|Rank= }}<!------>}} |
Rank Needed (Rank) | For Rank Needed, fill in the 'Rank= ' section of within the brackets with the rank that is required to craft that certain item. | |Rank Needed={{PartTimeJobInfo/Rank|Rank= F}}<!------>}} |
Linking to Manual / Pattern Pages | To link to Manual or Pattern pages, you will need the name of the page first. For example, Blacksmithing Manuals is the page where all the blacksmthing manuals are stored for this wiki. To link to a specific blacksmithing manual, type [[Blacksmithing Manuals#Item Name|Manual]]. [[Blacksmtihing Manuals#Item Name (Part-Time Job)|Manual]]if it is a Part-Time Job Manual. Type the exact same for Sewing Patterns as well: [[Sewing Patterns#Item Name|Pattern]]or [[Sewing Patterns#Item Name (Part-Time Job)|Pattern]] |