Difference between revisions of "Template:NPC/Layout"

[unchecked revision][unchecked revision]
m (Reverted edits by Clydae (Talk) to last revision by Tempest)
Line 1: Line 1:
 
<noinclude>{{AV!}}</noinclude>
 
<noinclude>{{AV!}}</noinclude>
 
{{Subpage|[[Main Page|Metin2Wiki]]|[[:Category:NPC|NPC-Overview]]}}
 
{{Subpage|[[Main Page|Metin2Wiki]]|[[:Category:NPC|NPC-Overview]]}}
{{Layout 02
+
{{Layout 01
 
|ColorH= {{NPC/ColorH}}
 
|ColorH= {{NPC/ColorH}}
 
|ColorR= {{NPC/ColorR}}
 
|ColorR= {{NPC/ColorR}}
  
|Head2 = {{PAGENAME}}
+
|Header = {{PAGENAME}}
  
|Box    = {{!}}colspan="2" width="100%"{{!}} {{#ifexist: Media:{{PAGENAME}}.jpg|[[Image:{{PAGENAME}}.png{{!}}300px]]|''No image available.''}}
+
|Box1  =
{{!-}}
+
<div style="text-align:center;">
{{!}}colspan="2"{{!}} &nbsp;
+
{{#if: {{{Image| }}}
{{!-}}
+
<!-- | {{#ifexist:{{#sub:{{{Image}}} | 2 | {{#expr: {{#len:{{{Image}}} }} - 4 }} }}-->
{{!}}width="45%" valign="top"{{!}} '''Function:'''
+
    | [[{{#sub:{{{Image}}} | 2 | {{#expr: {{#len:{{{Image}}} }} - 4 }} }}|thumb|center]]
{{!}}style="width:55%;padding-left:5%;" valign="top"{{!}} '''Positions:'''
+
    | [[Image:{{anchorencode: {{PAGENAME}} }}.jpg|thumb|center]]
{{!-}}
+
<!--  }}
{{!}}width="45%" valign="top"{{!}} {{#if:{{{Function| }}} | {{{Function}}} | No entry. }}
+
| [[Image:{{anchorencode: {{PAGENAME}} }}.jpg]]-->
{{!}}style="width:55%;padding-left:5%;" valign="top"{{!}}
+
}}
 +
</div>
 
{{#ifexpr: {{#if: {{{Bakra| }}} | 1 | 0 }}
 
{{#ifexpr: {{#if: {{{Bakra| }}} | 1 | 0 }}
 
   or {{#if: {{{Mount Sohan| }}} | 1 | 0 }}
 
   or {{#if: {{{Mount Sohan| }}} | 1 | 0 }}
Line 40: Line 41:
 
   or {{#if: {{{Yongan| }}} | 1 | 0 }}
 
   or {{#if: {{{Yongan| }}} | 1 | 0 }}
 
   or {{#if: {{{Yongbi-Desert| }}} | 1 | 0 }}
 
   or {{#if: {{{Yongbi-Desert| }}} | 1 | 0 }}
  or {{#if: {{{Grotto of Exile| }}} | 1 | 0 }}
+
|
|
+
<div {{Sectionheading|H={{NPC/ColorH}}|R={{NPC/ColorR}}}}>'''Positions:'''</div>
{{{!}}cellpadding="0" cellspacing="0"
+
{{{!}}
 
{{#ifexpr: {{#if: {{{Bakra| }}} | 1 | 0 }}
 
{{#ifexpr: {{#if: {{{Bakra| }}} | 1 | 0 }}
 
   or {{#if: {{{Bokjung| }}} | 1 | 0 }}
 
   or {{#if: {{{Bokjung| }}} | 1 | 0 }}
Line 53: Line 54:
 
   or {{#if: {{{Yongan| }}} | 1 | 0 }}
 
   or {{#if: {{{Yongan| }}} | 1 | 0 }}
 
  |
 
  |
{{!}}valign="top" style="padding-right:10px;padding-bottom:10px;"{{!}} [[Image:Flag_yellow.png]]
+
{{!}} [[Image:Flag_yellow.png]]
{{!}}valign="top" style="padding-right:10px;"{{!}}
+
{{!}}
{{#if: {{{Joan| }}} | [[Joan]]:<br /> }}{{#if: {{{Bokjung| }}} | [[Bokjung]]:<br /> }}{{#if: {{{Waryong| }}} | [[Waryong]]: }}
+
{{{!}}
{{!}}valign="top" style="padding-right:10px;"{{!}}
+
{{!}} {{NPC/Sectionname}} {{!}} [[Joan]]:
{{#if: {{{Joan| }}} | {{{Joan}}}<br /> }}{{#if: {{{Bokjung| }}} | {{{Bokjung}}}<br /> }}{{#if: {{{Waryong| }}} | {{{Waryong}}} }}
+
{{!}} {{#if: {{{Joan| }}} | {{NPC/Coords}} {{!}} {{{Joan}}} | &nbsp; }}
{{!-}}
+
{{!}}-
{{!}}valign="top" style="padding-right:10px;padding-bottom:10px;"{{!}} [[Image:Flag_blue.png]]
+
{{!}} {{NPC/Sectionname}} {{!}} [[Bokjung]]:
{{!}}valign="top" style="padding-right:10px;"{{!}}
+
{{!}} {{#if: {{{Bokjung| }}} | {{NPC/Coords}} {{!}} {{{Bokjung}}} | &nbsp; }}
{{#if: {{{Pyungmoo| }}} | [[Pyungmoo]]:<br /> }}{{#if: {{{Bakra| }}} | [[Bakra]]:<br /> }}{{#if: {{{Imha| }}} | [[Imha]]: }}
+
{{!}}-
{{!}}valign="top" style="padding-right:10px;"{{!}}
+
{{!}} {{NPC/Sectionname}} {{!}} [[Waryong]]:
{{#if: {{{Pyungmoo| }}} | {{{Pyungmoo}}}<br /> }}{{#if: {{{Bakra| }}} | {{{Bakra}}}<br /> }}{{#if: {{{Imha| }}} | {{{Imha}}} }}
+
{{!}} {{#if: {{{Waryong| }}} | {{NPC/Coords}} {{!}} {{{Waryong}}} | &nbsp; }}
{{!-}}
+
{{!}}}
{{!}}valign="top" style="padding-right:10px;padding-bottom:10px;"{{!}} [[Image:Flag_red.png]]
+
{{!}}-
{{!}}valign="top" style="padding-right:10px;"{{!}}
+
{{!}} colspan=2 {{!}}
{{#if: {{{Yongan| }}} | [[Yongan]]:<br /> }}{{#if: {{{Jayang| }}} | [[Jayang]]:<br /> }}{{#if: {{{Jungrang| }}} | [[Jungrang]]: }}
+
----
{{!}}valign="top" style="padding-right:10px;"{{!}}
+
{{!}}-
{{#if: {{{Yongan| }}} | {{{Yongan}}}<br /> }}{{#if: {{{Jayang| }}} | {{{Jayang}}}<br /> }}{{#if: {{{Jungrang| }}} | {{{Jungrang}}} }} }}
+
{{!}} [[Image:Flag_blue.png]]
 +
{{!}}
 +
{{{!}}
 +
{{!}} {{NPC/Sectionname}} {{!}} [[Pyungmoo]]:
 +
{{!}} {{#if: {{{Pyungmoo| }}} | {{NPC/Coords}} {{!}} {{{Pyungmoo}}} | &nbsp; }}
 +
{{!}}-
 +
{{!}} {{NPC/Sectionname}} {{!}} [[Bakra]]:
 +
{{!}} {{#if: {{{Bakra| }}} | {{NPC/Coords}} {{!}} {{{Bakra}}} | &nbsp; }}
 +
{{!}}-
 +
{{!}} {{NPC/Sectionname}} {{!}} [[Imha]]:
 +
{{!}} {{#if: {{{Imha| }}} | {{NPC/Coords}} {{!}} {{{Imha}}} | &nbsp; }}
 +
{{!}}}
 +
{{!}}-
 +
{{!}} colspan=2 {{!}}
 +
----
 +
{{!}}-
 +
{{!}} [[Image:Flag_red.png]]
 +
{{!}}
 +
{{{!}}
 +
{{!}} {{NPC/Sectionname}} {{!}} [[Yongan]]:
 +
{{!}} {{#if: {{{Yongan| }}} | {{NPC/Coords}} {{!}} {{{Yongan}}} | &nbsp; }}
 +
{{!}}-
 +
{{!}} {{NPC/Sectionname}} {{!}} [[Jayang]]:
 +
{{!}} {{#if: {{{Jayang| }}} | {{NPC/Coords}} {{!}} {{{Jayang}}} | &nbsp; }}
 +
{{!}}-
 +
{{!}} {{NPC/Sectionname}} {{!}} [[Jungrang]]:
 +
{{!}} {{#if: {{{Jungrang| }}} | {{NPC/Coords}} {{!}} {{{Jungrang}}} | &nbsp; }}
 +
{{!}}}
 +
{{!}}-
 +
}}
 
{{#ifexpr: {{#if: {{{Mount Sohan| }}} | 1 | 0 }}
 
{{#ifexpr: {{#if: {{{Mount Sohan| }}} | 1 | 0 }}
 
   or {{#if: {{{Demon Tower| }}} | 1 | 0 }}
 
   or {{#if: {{{Demon Tower| }}} | 1 | 0 }}
Line 85: Line 115:
 
   or {{#if: {{{Valley of Seungryong| }}} | 1 | 0 }}
 
   or {{#if: {{{Valley of Seungryong| }}} | 1 | 0 }}
 
   or {{#if: {{{Yongbi-Desert| }}} | 1 | 0 }}
 
   or {{#if: {{{Yongbi-Desert| }}} | 1 | 0 }}
  or {{#if: {{{Grotto of Exile| }}} | 1 | 0 }}
 
 
  |
 
  |
{{!-}}
+
{{#ifexpr: {{#if: {{{Bakra| }}} | 1 | 0 }}
{{!}}valign="top" style="padding-right:10px;padding-bottom:10px;"{{!}} [[Image:Flag_neutral.png]]
+
  or {{#if: {{{Bokjung| }}} | 1 | 0 }}
{{!}}valign="top" style="padding-right:10px;"{{!}}
+
  or {{#if: {{{Imha| }}} | 1 | 0 }}
{{#if: {{{Mount Sohan| }}} | [[Mount Sohan]]:<br /> }}{{#if: {{{Demon Tower| }}} | [[Demon Tower]]:<br /> }}{{#if: {{{Doyyumhwaji| }}} | [[Doyyumhwaji]]:<br /> }}{{#if: {{{Hasun Dong| }}} | [[Hasun Dong]]:<br /> }}{{#if: {{{Hwang-Temple| }}} | [[Hwang-Temple]]:<br /> }}{{#if: {{{Jungsun Dong| }}} | [[Jungsun Dong]]:<br /> }}{{#if: {{{Kuahklo Dong| }}} | [[Kuahklo Dong]]:<br /> }}{{#if: {{{Valley of Giants| }}} | [[Valley of Giants]]:<br /> }}{{#if: {{{Lungsam| }}} | [[Lungsam]]:<br /> }}{{#if: {{{Red Wood| }}} | [[Red Wood]]:<br /> }}{{#if: {{{Sangsun Dong| }}} | [[Sangsun Dong]]:<br /> }}{{#if: {{{Snakefield| }}} | [[Snakefield]]:<br /> }}{{#if: {{{Spider Dungeon 2| }}} | [[Spider Dungeon 2]]:<br /> }}{{#if: {{{Valley of Seungryong| }}} | [[Valley of Seungryong]]:<br /> }}{{#if: {{{Yongbi-Desert| }}} | [[Yongbi-Desert]]:<br /> }}{{#if: {{{Grotto of Exile| }}} | [[Grotto of Exile]]:<br /> }}
+
  or {{#if: {{{Jayang| }}} | 1 | 0 }}
{{!}}valign="top" style="padding-right:10px;"{{!}}
+
  or {{#if: {{{Joan| }}} | 1 | 0 }}
{{#if: {{{Mount Sohan| }}} | {{{Mount Sohan}}}<br /> }}{{#if: {{{Demon Tower| }}} | {{{Demon Tower}}}<br /> }}{{#if: {{{Doyyumhwaji| }}} | {{{Doyyumhwaji}}}<br /> }}{{#if: {{{Hasun Dong| }}} | {{{Hasun Dong}}}<br /> }}{{#if: {{{Hwang-Temple| }}} | {{{Hwang-Temple}}}<br /> }}{{#if: {{{Jungsun Dong| }}} | {{{Jungsun Dong}}}<br /> }}{{#if: {{{Kuahklo Dong| }}} | {{{Kuahklo Dong}}}<br /> }}{{#if: {{{Valley of Giants| }}} | {{{Valley of Giants}}}<br /> }}{{#if: {{{Lungsam| }}} | {{{Lungsam}}}<br /> }}{{#if: {{{Red Wood| }}} | {{{Red Wood}}}<br /> }}{{#if: {{{Sangsun Dong| }}} | {{{Sangsun Dong}}}<br /> }}{{#if: {{{Snakefield| }}} | {{{Snakefield}}}<br /> }}{{#if: {{{Spider Dungeon 2| }}} | {{{Spider Dungeon 2}}}<br /> }}{{#if: {{{Valley of Seungryong| }}} | {{{Valley of Seungryong}}}<br /> }}{{#if: {{{Yongbi-Desert| }}} | {{{Yongbi-Desert}}}<br /> }}{{#if: {{{Grotto of Exile| }}} | {{{Grotto of Exile}}}<br /> }} }}
+
  or {{#if: {{{Jungrang| }}} | 1 | 0 }}
{{!}}} }}
+
  or {{#if: {{{Pyungmoo| }}} | 1 | 0 }}
{{!-}}
+
  or {{#if: {{{Waryong| }}} | 1 | 0 }}
{{!}}colspan="2"{{!}} &nbsp;
+
  or {{#if: {{{Yongan| }}} | 1 | 0 }}
{{!-}}
+
|
{{!}}width="45%" valign="top"{{!}} '''Other:'''
+
{{!}} colspan=2 {{!}}
{{!}}style="width:55%;padding-left:5%;" valign="top"{{!}} '''Quests:'''
+
----
{{!-}}
+
{{!}}-
{{!}}width="45%" valign="top"{{!}}
+
}}
{{#if: {{{Other| }}} | {{{Other}}} | No Entry. }}
+
{{!}} style="vertical-align:top;" {{!}} [[Image:Flag_neutral.png]]
{{!}}style="width:55%;padding-left:5%;" valign="top"{{!}}
+
{{!}} style="vertical-align:top;" {{!}}
{{#if: {{{Quests| }}} | {{{Quests}}} | This NPC is not needed for any quests. }}
+
{{{!}}
 +
{{#if: {{{Mount Sohan| }}} |
 +
  {{!}} {{NPC/Sectionname}} {{!}} [[Mount Sohan]]:
 +
  {{!}} {{NPC/Coords}} {{!}} {{{Mount Sohan}}}
 +
  {{!}}- }}
 +
{{#if: {{{Demon Tower| }}} |
 +
  {{!}} {{NPC/Sectionname}} {{!}} [[Demon Tower]]:
 +
  {{!}} {{NPC/Coords}} {{!}} {{{Demon Tower}}}
 +
  {{!}}- }}
 +
{{#if: {{{Doyyumhwaji| }}} |
 +
  {{!}} {{NPC/Sectionname}} {{!}} [[Doyyumhwaji]]:
 +
  {{!}} {{NPC/Coords}} {{!}} {{{Doyyumhwaji}}}
 +
  {{!}}- }}
 +
{{#if: {{{Hasun Dong| }}} |
 +
  {{!}} {{NPC/Sectionname}} {{!}} [[Hasun Dong]]:
 +
  {{!}} {{NPC/Coords}} {{!}} {{{Hasun Dong}}}
 +
  {{!}}- }}
 +
{{#if: {{{Hwang-Temple| }}} |
 +
  {{!}} {{NPC/Sectionname}} {{!}} [[Hwang-Temple]]:
 +
  {{!}} {{NPC/Coords}} {{!}} {{{Hwang-Temple}}}
 +
  {{!}}- }}
 +
{{#if: {{{Jungsun Dong| }}} |
 +
  {{!}} {{NPC/Sectionname}} {{!}} [[Jungsun Dong]]:
 +
  {{!}} {{NPC/Coords}} {{!}} {{{Jungsun Dong}}}
 +
  {{!}}- }}
 +
{{#if: {{{Kuahklo Dong| }}} |
 +
  {{!}} {{NPC/Sectionname}} {{!}} [[Kuahklo Dong]]:
 +
  {{!}} {{NPC/Coords}} {{!}} {{{Kuahklo Dong}}}
 +
  {{!}}- }}
 +
{{#if: {{{Valley of Giants| }}} |
 +
  {{!}} {{NPC/Sectionname}} {{!}} [[Valley of Giants]]:
 +
  {{!}} {{NPC/Coords}} {{!}} {{{Valley of Giants}}}
 +
  {{!}}- }}
 +
{{#if: {{{Lungsam| }}} |
 +
  {{!}} {{NPC/Sectionname}} {{!}} [[Lungsam]]:
 +
  {{!}} {{NPC/Coords}} {{!}} {{{Lungsam}}}
 +
  {{!}}- }}
 +
{{#if: {{{Red Wood| }}} |
 +
  {{!}} {{NPC/Sectionname}} {{!}} [[Red Wood]]:
 +
  {{!}} {{NPC/Coords}} {{!}} {{{Red Wood}}}
 +
  {{!}}- }}
 +
{{#if: {{{Sangsun Dong| }}} |
 +
  {{!}} {{NPC/Sectionname}} {{!}} [[Sangsun Dong]]:
 +
  {{!}} {{NPC/Coords}} {{!}} {{{Sangsun Dong}}}
 +
  {{!}}- }}
 +
{{#if: {{{Snakefield| }}} |
 +
  {{!}} {{NPC/Sectionname}} {{!}} [[Snakefield]]:
 +
  {{!}} {{NPC/Coords}} {{!}} {{{Snakefield}}}
 +
  {{!}}- }}
 +
{{#if: {{{Spider Dungeon 2| }}} |
 +
  {{!}} {{NPC/Sectionname}} {{!}} [[Spider Dungeon 2]]:
 +
  {{!}} {{NPC/Coords}} {{!}} {{{Spider Dungeon 2}}}
 +
  {{!}}- }}
 +
{{#if: {{{Valley of Seungryong| }}} |
 +
  {{!}} {{NPC/Sectionname}} {{!}} [[Valley of Seungryong]]:
 +
  {{!}} {{NPC/Coords}} {{!}} {{{Valley of Seungryong}}}
 +
  {{!}}- }}
 +
{{#if: {{{Yongbi-Desert| }}} |
 +
  {{!}} {{NPC/Sectionname}} {{!}} [[Yongbi-Desert]]:
 +
  {{!}} {{NPC/Coords}} {{!}} {{{Yongbi-Desert}}}
 +
  {{!}}- }}
 +
{{!}}}
 +
}}
 +
{{!}}}
 
}}
 
}}
  
 +
|Box2  =
 +
<div style="margin-top:1.7em;"><span {{Sectionheading|R={{NPC/ColorR}} }}>'''Function:'''</span></div>
 +
<div style="margin:1em 0em 0em 0.3em;">
 +
{{#if: {{{Function| }}} |
 +
{{{Function}}} | - }}
 +
</div>
 +
<div style="margin-top:1.5em;"><span {{Sectionheading|R={{NPC/ColorR}} }}>'''Quests&nbsp;/&nbsp;Piece&nbsp;of&nbsp;a&nbsp;Quest:'''</span></div>
 +
<div style="margin:1em 0em 0em 0.3em;">
 +
{{#if: {{{Quests| }}} |
 +
{{{Quests}}} | - }}
 +
</div>
 +
<div style="margin-top:1.5em;"><span {{Sectionheading|R={{NPC/ColorR}} }}>'''Other:'''</span></div>
 +
<div style="margin:1em 0em 0em 0.3em;">
 +
{{#if: {{{Other| }}} |
 +
{{{Other}}} | - }}
 +
</div>
 +
{{#if: {{{Position| }}} |
 +
<div style="margin-top:1.5em;"><span {{Sectionheading|R={{NPC/ColorR}} }}>'''Positions:'''</span></div>
 +
<div style="margin:1em 0em 0em 0.3em;">
 +
{{{Position}}}<br />
 +
{{{!}} style="background:{{NPC/ColorH}};"
 +
{{!}} <span style="{{Font/Remark}}">(Register please the coordinates for the respective area and then the complete position entry delete. The basic entries for the areas can of [[Help:New_Articlefields#Positions|here]] are copied .)</span>
 +
{{!}}}
 +
</div>
 +
}}
 +
}}
  
 
{{Subpage|[[Metin2Wiki:Portal|Metin2Wiki]]|[[:Category:NPC|NPC-Overview]]}}
 
{{Subpage|[[Metin2Wiki:Portal|Metin2Wiki]]|[[:Category:NPC|NPC-Overview]]}}

Revision as of 04:19, 8 March 2010

Stopschild.png

Attention!

You are watching a template at the moment. It was not made to enter an item or other things. In case you want to do so please look at Metin2Wiki:Help.

The word after subst: is nearly always the name of the type for which you want to add a page.


< Metin2Wiki < NPC-Overview < NPC/Layout

NPC/Layout

Function:

-

Quests / Piece of a Quest:

-

Other:

-

▲ To the top ▲

< Metin2Wiki < NPC-Overview < NPC/Layout