Template:Quest: Difference between revisions

From Elwiki
No edit summary
mNo edit summary
 
(100 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{Section
<includeonly>{{#if:{{{ClassChange|}}}||{{clearfix}}}}{{Segment
| Attr=class="collapsible collapsed"
| SectionSty=display: flex; flex-direction: column;
| SectionSty=border-bottom: 1px #000 solid;
| SectionCls=segment-partial mw-collapsed mw-collapsible {{#if:{{{ClassChange|}}}||generic-quest}}
| hStyle0=border-bottom: none;
| hStyles=font-size: 1.25em; padding: 7px; background-color: {{{HeaderColor|}}}; font-weight: 600; display: flex; {{{HeaderStyles|}}}
| Color0={{ColorSel|Village|{{{Village|}}}}}
| hCls={{{HeaderCls|}}} {{#if:{{{ClassChange|}}}||generic-quest-header}}
| Title0={{{QuestName|<nowiki/>}}}
| hStyle=border: 0 !important; display: flex; align-items: center;
| Title0=<span style="margin-right: 6px">[[File:Quest Icon - {{#switch:{{{QuestType|}}}
  | General|Repeatable|Daily|Daily Random|Weekly|Weekly Random|Monthly|Guild|Mentor|Character|Competition|Wedding|#default=General
  | Story|SideStory=Story
  | Skill=Skill
  | Event=Event
  | Class Change|Transcendence|Master=Class Change
  | PC Bang=PC Bang
}}.png]]</span>{{{QuestName|}}}
| Style0=padding: 0;
| Style0=padding: 0;
| Content0=<span style="display:none">{{</span>
| Content0=<dfn>{{</dfn>
{| style="text-align: center; width: 100%; margin: 0; padding: 0;" class="wikitable"
{| style="text-align: left; width: 100%; margin: 0; padding: 0; border-style: solid hidden hidden;" class="wikitable"
|-
|-
! style="width= 10%; background-color:#{{#switch: {{{QuestType|}}}  | General =66FF33 | Repeatable =0066FF | Story =FFFF33 | Daily =006600 | Skill =FF0000 | Event =FF6600 | Class Change =3333CC | #default =000000}};" | {{{QuestType|}}}
! width=50% | Quest Acceptance Prerequisites
! width=90% | {{{QuestName|}}}
! width=50% | Objectives
|-
|-
| width=50% | {{{Objectives|}}} || width=50% | {{{Description|}}}
| width=50% |
{{{Requirement|* No requirements needed}}}
| width=50% |
{{{Objectives|}}}
|-
|-
| colspan=100 |
{{#if:{{{Description|}}}|
{| class="wikitable" cellpadding="5" border="1" style="border-collapse: collapse; width=100% text-align: left"
! colspan=2 {{!}} Description
{{!}}-
{{!}} colspan=2 {{!}}
{{{Description|}}}
{{!}}-}}
{{#if:{{{QuestAD|}}}|
! colspan=3 {{!}} Quest Acceptance Dialogue {{#ifeq: {{{Dialogue|}}}|true|(No longer available)|}}
{{!}}-
{{!}} colspan=3 {{!}}
{{{QuestAD|'''(None)'''}}}
|}}
|-
|-
! colspan=100 | Rewards  
{{#if:{{{QuestCD|}}}|
! colspan=3 {{!}} Quest Completion Dialogue {{#ifeq: {{{Dialogue|}}}|true|(No longer available)|}}
{{!}}-
{{!}} colspan=3 {{!}}
{{{QuestCD|'''(None)'''}}}
|}}
|}
{| style="text-align: left; width: 100%; margin: 0%; padding: 0; border-style: solid hidden hidden;" class="wikitable"
! colspan=6 | Rewards
|-
|-
! width=5% colspan=2 | [[Currency]]/[[Exp Table|Experience]] !! colspan=2 | Common Rewards !! colspan=2 | Selective Rewards
! width=10% colspan=2 | [[Currency]]/[[Experience Table|Experience]] !! width=45% colspan=2 | Common Rewards !! width=45% colspan=2 | Selective Rewards
|-
|-
| ED || {{#if:{{{ED|}}}|{{{ED|}}}|0}} || width=1% | {{#if:{{{CReward1|}}}|{{{CImage1|}}}|[[File:NOIMAGE.png]]}} || {{#if:{{{CReward1|}}}|{{{CReward1|}}}|N/A}} || width=1% | {{#if:{{{SReward1|}}}|{{{SImage1|}}}|[[File:NOIMAGE.png]]}} || {{#if:{{{SReward1|}}}|{{{SReward1|}}}|N/A}}
| EXP || {{{EXP|0}}} || width="1%" | {{{CImage1|[[File:NOIMAGE.png]]}}} || {{{CReward1|N/A}}} || width="1%" | {{{SImage1|[[File:NOIMAGE.png]]}}} || {{{SReward1|N/A}}}
|-
|-
| EXP || {{#if:{{{EXP|}}}|{{{EXP|}}}|0}} || width=1% | {{#if:{{{CReward2|}}}|{{{CImage2|}}}|[[File:NOIMAGE.png]]}} || {{#if:{{{CReward2|}}}|{{{CReward2|}}}|N/A}} || width=1% | {{#if:{{{SReward2|}}}|{{{SImage2|}}}|[[File:NOIMAGE.png]]}} || {{#if:{{{SReward2|}}}|{{{SReward2|}}}|N/A}}
| ED || {{{ED|0}}} || width="1%" | {{{CImage2|[[File:NOIMAGE.png]]}}} || {{{CReward2|N/A}}} || width="1%" | {{{SImage2|[[File:NOIMAGE.png]]}}} || {{{SReward2|N/A}}}
|-
|-
| AP || {{#if:{{{AP|}}}|{{{AP|}}}|0}} || width=1% | {{#if:{{{CReward3|}}}|{{{CImage3|}}}|[[File:NOIMAGE.png]]}} || {{#if:{{{CReward3|}}}|{{{CReward3|}}}|N/A}} || width=1% | {{#if:{{{SReward3|}}}|{{{SImage3|}}}|[[File:NOIMAGE.png]]}} || {{#if:{{{SReward3|}}}|{{{SReward3|}}}|N/A}}
| EP || {{{EP|0}}} || width="1%" | {{{CImage3|[[File:NOIMAGE.png]]}}} || {{{CReward3|N/A}}} || width="1%" | {{{SImage3|[[File:NOIMAGE.png]]}}} || {{{SReward3|N/A}}}
|}
|-
| AP  || {{{AP|0}}} || colspan=4 |
|}
|}
<span style="display:none">}}</span>
<dfn>}}</dfn>
}}</includeonly><noinclude>
=== Code Format ===
<nowiki>{{Quest
|HeaderColor=
|QuestType=
|QuestName=
|Requirement=
|Objectives=
|Description=
|QuestAD=
|QuestCD=
|ED=
|EXP=
|EP=
|AP=
|CImage1=
|CReward1=
|CImage2=
|CReward2=
|CImage3=
|CReward3=
|SImage1=
|SReward1=
|SImage2=
|SReward2=
|SImage3=
|SReward3=
}}
}}
</nowiki>
</noinclude>

Latest revision as of 01:16, 2 July 2023

Code Format

{{Quest
|HeaderColor=
|QuestType=
|QuestName=
|Requirement=
|Objectives=
|Description=
|QuestAD=
|QuestCD=
|ED=
|EXP=
|EP=
|AP=
|CImage1=
|CReward1=
|CImage2=
|CReward2=
|CImage3=
|CReward3=
|SImage1=
|SReward1=
|SImage2=
|SReward2=
|SImage3=
|SReward3=
}}