Template:NPCInfo: Difference between revisions

From Auranogi
mNo edit summary
mNo edit summary
 
(26 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
{| class="wikitable" style="border:5px solid #1195db; background-color: #ffffff;" display="block" flex="right" align="right" width="250px" max-width="250px"
{| class="wikitable" style="float:right; margin-left:45px; margin-right:auto; border:5px solid #1195db; background-color: #ffffff;" width="250px" max-width="250px"
|
|
{| class="wikitable" style="margin: 3px 3px 3px 3px; border:2px transparent; background-color: #ffffff;" width="250px" max-width="250px"
{| class="wikitable" style="margin: 3px 3px 3px 3px; border:2px transparent; background-color: #ffffff;" width="250px" max-width="250px"
| colspan="2" align="center" style="border: 2px transparent;"|{{{Image|}}}
| colspan="2" align="center" style="border: 2px transparent;"|{{#if:{{{Image|}}}|{{{Image|}}}|''Image Unavailable''}}
|-
|-
! colspan="2" align="center" style=" border:2px transparent; color:white; background-color: #ffffff;"|
! colspan="2" align="center" style=" border:2px transparent; color:white; background-color: #ffffff;"|
Line 9: Line 9:
! colspan="2" align="center" style="color:white; background-color: #1195db; border:2px solid #1195db;"|{{{NPC Name|}}}
! colspan="2" align="center" style="color:white; background-color: #1195db; border:2px solid #1195db;"|{{{NPC Name|}}}
|- align="center"
|- align="center"
| style="color:#1195db; border:2px solid #ffffff; border-left:2px solid #e1f5ff; border-right:2px solid #e1f5ff; background-color: #e1f5ff; width:30%;"|'''Race'''||style="border:2px transparent; border-bottom:2px solid #e1f5ff;"|{{{Race|}}}
| style="color:#1195db; border:2px solid #ffffff; border-left:2px solid #e1f5ff; border-right:2px solid #e1f5ff; background-color: #e1f5ff; width:30%;"|'''Race'''||style="border:2px transparent; border-bottom:2px solid #e1f5ff;"|{{#if:{{{Race|}}}|{{{Race|}}}|''N/A''}}
|- align="center"
|- align="center"
| style="color:#1195db; border:2px solid #ffffff; border-left:2px solid #e1f5ff; border-right:2px solid #e1f5ff; background-color: #e1f5ff;"|'''Gender'''||style="border:2px transparent; border-bottom:2px solid #e1f5ff;"|{{{Gender|}}}
| style="color:#1195db; border:2px solid #ffffff; border-left:2px solid #e1f5ff; border-right:2px solid #e1f5ff; background-color: #e1f5ff;"|'''Gender'''||style="border:2px transparent; border-bottom:2px solid #e1f5ff;"|{{#if:{{{Gender|}}}|{{{Gender|}}}|''N/A''}}
|- align="center"
|- align="center"
| style="color:#1195db; border:2px solid #ffffff; border-left:2px solid #e1f5ff; border-right:2px solid #e1f5ff; background-color: #e1f5ff;"|'''Occupation'''||style="border:2px transparent; border-bottom:2px solid #e1f5ff;"|{{{Occupation|}}}
| style="color:#1195db; border:2px solid #ffffff; border-left:2px solid #e1f5ff; border-right:2px solid #e1f5ff; background-color: #e1f5ff;"|'''Occupation'''||style="border:2px transparent; border-bottom:2px solid #e1f5ff;"|{{#if:{{{Occupation|}}}|{{{Occupation|}}}|''N/A''}}
|- align="center"
|- align="center"
| style="color:#1195db; border:2px solid #ffffff; border-left:2px solid #e1f5ff; border-right:2px solid #e1f5ff; background-color: #e1f5ff;"|'''Location'''||style="border:2px transparent; border-bottom:2px solid #e1f5ff;"|{{{Location|}}}
| style="color:#1195db; border:2px solid #ffffff; border-left:2px solid #e1f5ff; border-right:2px solid #e1f5ff; background-color: #e1f5ff;"|'''Location'''||style="border:2px transparent; border-bottom:2px solid #e1f5ff;"|{{#if:{{{Location|}}}|{{{Location|}}}|''N/A''}}
{{#ifeq:{{{NPC Part-Time Job?|}}}|YES|{{{Part-Time Job|}}}| }}
<nowiki></nowiki>
{{#ifeq:{{{NPC Repair?|}}}|YES|{{{Repairs|}}}| }}
|- align="center"
|- align="center"
| rowspan="2" style="border:2px solid #ffffff; border-left:2px solid #e1f5ff; border-right:2px solid #e1f5ff; color:#1195db; background-color: #e1f5ff;"|'''Repair'''|| rowspan="1" style="padding: 0px 0px 0px 0px; text-align:center; border:2px transparent;"|{{{Type of Repairs|}}}
| style="color:#1195db; border:2px transparent; border-left:2px solid #e1f5ff; border-right:2px solid #e1f5ff; background-color: #e1f5ff;"|'''Track'''||style="border:2px transparent;"|{{#if:{{{Track|}}}|{{{Track|}}}|''N/A''}}
|-
| rowspan="1" style="padding: 0px 0px 0px 0px; text-align:center; border:2px transparent; border-bottom:2px solid #e1f5ff;"|{{{Percent Chance|}}}
|- align="center"
| style="color:#1195db; border:2px transparent; border-left:2px solid #e1f5ff; border-right:2px solid #e1f5ff; background-color: #e1f5ff;"|'''Track'''||style="border:2px transparent;"|{{{Track|}}}
|}
|}
|}
|}
</includeonly>
</includeonly>
<noinclude>[[Category:Templates]][[Category:NPCInfoTemplate]]</noinclude>
<noinclude>
{{Documentation}}
[[Category:Templates]]</noinclude>

Latest revision as of 03:59, 15 May 2024


[edit]Template Documentation
Mai
Race Human
Gender Female
Occupation Tailorer
Location Chisai Village
Part-Time Job 7:00AM - 5:00PM
( Report Time: 3:00PM )

Repair Clothing Shop Repair
99%
Track Snow Balling - SENTIVE


Description

This is the "NPCInfo" template.

Useful for creating NPC pages or adding NPC info for event NPCs on Event pages.

How to Use

It should be called in the following format:

{{NPCInfo
| Image=
| NPC Name=
| Race=
| Gender=
| Occupation=
| Location=
| NPC Part-Time Job?= 
| Part-Time Job=
{{NPCInfo/PartTimeJob|Part-Time Job Hours= |Report Time= }}
| NPC Repair?= 
| Repairs=
{{NPCInfo/Repairs|Type of Repairs= |Percent Chance= }}
| Track=
}}

Parameters

Parameter Usage Example
Image Link the uploaded image of the NPC (whether it be a screenshot or a portrait) by writing this:
[[File:Image Name.png|100px]]
(The value of the pixel(px) size is dependent on how the image is cropped. You will need to raise or lower the value based on the dimensions of the image. If no image is available, leave blank.
NPC Name Type out the name of the NPC. If unknown, leave blank. Mai
Race Type out the NPC's race. If unknown, leave blank. Human
Gender Type out the NPC's gender. If unknown, leave blank. Female
Occupation Type out the NPC's occupation. You can link to this Wiki for the occupation if a page for it exists (
[[Page Name]]
), or link directly to Mabinogi World Wiki's page (
[[mww:Page Name|Occupation Name]]
). If unknown and/or not applicable, leave blank.
Tailorer
Location Type out where the NPC is located. You can link to this Wiki for the location if a page for it exists (
[[Page Name]]
), or link directly to Mabinogi World Wiki's page (
[[mww:Page Name|Location]]
). If unknown, leave blank.
Chisai Village
NPC Part-Time Job? Does the NPC have a Part-Time Job? If so, type YES. If no, leave empty or type NO.
| NPC Part-Time Job?= YES
Part-Time Job Hours List the hours for the part-time job.
(Start Time) - (End Time)
| Part-Time Job Hours= 7:00AM - 3:00PM

OR

| Part-Time Job Hours= 7:00 - 15:00
Report Time List the time(s) you are able to report to the NPC to finish the Part-Time Job. This can just list the starting Report time.
| Report Time= 1:00PM

OR

| Report Time= 13:00
NPC Repair? If the NPC repairs, state YES. Otherwise, leave it blank or type NO. If 'NO' or blank, it will hide any repair code and not show it whatsoever.
| NPC Repair?= YES
Type of Repairs Type the type of repairs the NPC does, if applicable. You can link to this Wiki for the repair type if a page for it exists (
[[Repairs#(Repair Type)]]
), or link directly to Mabinogi World Wiki's page (
[[mww:Repairs#(Repair Type)|(Repair Type) Repair]]
). Otherwise, leave blank.
Clothing Shop Repair
Percent Chance Type out the rate of success the NPC has for repairs. If unknown or not applicable, leave blank. 98%
Track If the NPC has a track/song that plays when interacting, it means it has a track. (Link to it directly in the wiki if it is listed on the tracks page.
[[Soundtrack#SONG NAME]]
(Soundtrack page link)
If you know the name of the track, type the name and its author. If unknown, leave blank.
Snow Balling - SENTIVE