Difference between revisions of "Templates"

From HeRO Wiki
Jump to: navigation, search
(Quest Detailed Info Template)
m (Navbox Classes Template)
 
(56 intermediate revisions by 9 users not shown)
Line 3: Line 3:
  
 
===What Are They?===
 
===What Are They?===
Templates are as the name suggests, templates! They are convenient to use when mass-editing things of a similar nature, easy to edit to begin with, and can be changed without much hassle to suit whatever needs a wiki editor may have.
+
Templates are as the name suggests, templates! They take a specific formatting or text and transclude it into where you're using them. This makes them convenient to use when mass-editing things of a similar nature, easy to edit to begin with since they allow you to only enter the basic info, and can be changed without much hassle to suit whatever needs a wiki editor may have.
  
 
They can be used to show affection for something or someone, guild pages, user pages, character pages, etc!
 
They can be used to show affection for something or someone, guild pages, user pages, character pages, etc!
  
===Where Do I Get Them?===
 
You can either make them yourself, [[User_talk:Fatalis|ask me]] to make you one, or copy them off of someone else (but that's lame!).
 
  
 
===How Do I Make One Myself?===
 
===How Do I Make One Myself?===
  
By learning how to properly use wiki software! Use Google for tutorials or something. If there's a genuine amount of interest, maybe I'll write a tutorial or two myself.
+
By learning how to properly use wiki software! Use Google for tutorials or something. Looking after existing wiki and how they write their template is also a good place to start.
  
 
===What Templates Currently Exist?===
 
===What Templates Currently Exist?===
 
This is a list of the pre-existing list of templates. Please, add them under the previous one if you have one to add to the list!
 
This is a list of the pre-existing list of templates. Please, add them under the previous one if you have one to add to the list!
 
To see how the templates look when used, please check the [[TemplatesExample]] page.
 
  
 
To all editors, it should be rather self explanatory how to use them. If not, well... just copy & paste the following codes into your page, and fill out the appropriate sections!
 
To all editors, it should be rather self explanatory how to use them. If not, well... just copy & paste the following codes into your page, and fill out the appropriate sections!
  
 
===Monster Template===
 
===Monster Template===
 +
 +
Edit the template [[Template:Monster|here]].
  
 
<pre>{{Template:Monster
 
<pre>{{Template:Monster
Line 29: Line 27:
 
|Minatk=
 
|Minatk=
 
|Maxatk=
 
|Maxatk=
|Sprite=
+
|Sprite=TBA
 
|Element=
 
|Element=
 
|Hp=
 
|Hp=
Line 38: Line 36:
 
|Jexp=
 
|Jexp=
 
|Mvpexp=
 
|Mvpexp=
|Mvpexp%=
 
 
|Str=
 
|Str=
 
|Agi=
 
|Agi=
Line 48: Line 45:
 
|Spellrange=
 
|Spellrange=
 
|Sightrange=
 
|Sightrange=
|Speed=
 
 
|Aspd=
 
|Aspd=
 +
|Speed=
 
|Stunlockdelay=
 
|Stunlockdelay=
|Mode=
+
|Id=
|Skills=
+
|Minmatk=
|Drops=  
+
|Maxmatk=
 +
|Flee=
 +
|Hit100=
 +
|Hit=
 +
|Flee95=
 +
|Pet=
 +
|Mode=Can Move, Aggressive, Can Attack, Change Chase, Change Target Melee/Chase
 +
|Skills=*Skill Lv 1, Attacking - Always @ Target, 1s Cast Time, 8s delay, 10% chance, uninterruptable
 +
|Drops=
 
|Mvpdrops=
 
|Mvpdrops=
 
|Location=
 
|Location=
 +
|Tips=
 
|Notes= }}</pre>
 
|Notes= }}</pre>
 +
 +
===MVP Item Change Template===
 +
 +
Edit the template [[Template:MVPItem|here]].
 +
 +
<pre>{{Template:MVPItem
 +
|MonsterName=
 +
|olditem1=
 +
|olditem2=
 +
|olditem3=
 +
|olditem4=
 +
|olditem5=
 +
|olditem6=
 +
|olditem7=
 +
|olditem8=
 +
|olditem9=
 +
|oldcard=
 +
|newitem1=
 +
|newitem2=
 +
|newitem3=
 +
|newitem4=
 +
|newitem5=
 +
|newitem6=
 +
|newitem7=
 +
|newitem8=
 +
|newitem9=
 +
|newcard=
 +
|oldmvpitem1=
 +
|oldmvpitem2=
 +
|oldmvpitem3=
 +
|newmvpitem1=
 +
|newmvpitem2=
 +
|newmvpitem3=
 +
|Note=
 +
}}</pre>
  
 
===Custom Gear Template===
 
===Custom Gear Template===
  
<pre>{{Template:Customgear
+
Edit the template [[Template:CustomGear|here]].
|itemname=
+
 
|itemid=  
+
<pre>{{Template:CustomGear
|sprite=  
+
|name=
|copyright=  
+
|id= the item ID
|portrait=
+
|sprite= The item sprite [file name only]
|def=  
+
|portrait= Item portrait [file name only]
|mdef=  
+
|def=
|weight=  
+
|mdef=
|refinable=  
+
|weight=
|usablejobs=  
+
|refinable=
|reqlevel=
+
|type=
|slot=
+
|usablejobs=
|location=  
+
|reqlvl=
|availability=
+
 
|description=  
 
|description=  
|effect= }}</pre>
+
|effect=
 +
}}</pre>
 +
 
 +
===Costume Template===
 +
 
 +
Edit the template [[Template:CostumeGear|here]].
 +
 
 +
<pre>{{Template:CostumeGear
 +
|name=
 +
|id=itemID
 +
|sprite= The item sprite [file name only]
 +
|portrait= Item portrait [file name only]
 +
|type=
 +
|description=
 +
}}
 +
You may also change the color of the heading with {{CustomGear|''color'' to match colored names better.</pre>
  
 
===Quest Detailed Info Template===
 
===Quest Detailed Info Template===
 +
 +
Edit the template [[Template:Quest|here]].
  
 
<pre>{{Template:Quest
 
<pre>{{Template:Quest
| levelreq =
+
|image=
| joblevelreq =
+
|levelreq=
| classreq =  
+
|joblevelreq=
| skillreq =
+
|classreq=
| partyreq =  
+
|skillreq=
| itemreq =
+
|partyreq=
| nitemreq =
+
|itemreq=
| zenyreq =  
+
|nitemreq=
| hunting =
+
|zenyreq=
| questsreq =
+
|repreq=
| questscoreq =
+
|hunting=
| baseexpreward =
+
|questreq=
| jobexpreward =
+
|questscoreq=
| itemreward =  
+
|baseexpreward=
| qreward =  
+
|jobexpreward=
 +
|itemreward=
 +
|qreward=
 +
|repreward=
 +
|qcooldown=
 +
|eventnote=
 
}}</pre>
 
}}</pre>
  
 
===Quest Intro Template===
 
===Quest Intro Template===
  
<pre>{{User:Fatalis/CustomQuestTemplate
+
Edit the template [[Template:CustomQuest|here]].
 +
 
 +
<pre>{{Template:CustomQuest
 
|questname=
 
|questname=
|image=
 
|caption=
 
 
|difficulty=
 
|difficulty=
 
|reclevel=
 
|reclevel=
 +
|repeatability=
 +
|party=
 
|quereward=
 
|quereward=
 
|description=}}</pre>
 
|description=}}</pre>
 +
 +
===Custom Card Template===
 +
 +
Edit the template [[Template:Card|here]].
 +
 +
<pre>{{Template:Card
 +
|name=
 +
|id=
 +
|sprite=
 +
|image=
 +
|slot=
 +
|weight=
 +
|effect=}}</pre>
 +
 +
 +
===Custom Weapon Template===
 +
 +
Edit the template [[Template:CustomWeapon|here]].
 +
 +
<pre>
 +
{{Template:CustomWeapon
 +
|name=
 +
|id=
 +
|sprite=
 +
|portrait=
 +
|type=
 +
|atk=
 +
|matk=
 +
|weight=
 +
|refinable=
 +
|weaponlv=
 +
|usablejobs=
 +
|reqlvl=
 +
|description=
 +
|effect=*
 +
}}
 +
 +
 +
You may also change the color of the heading with <nowiki>{{CustomWeapon|''color''</nowiki> to match colored names better.
 +
</pre></noinclude>
 +
 +
==Item Template==
 +
 +
Edit the template [[Template:Item|here]].
 +
 +
<pre>
 +
{{Template:Item
 +
|name=
 +
|id=
 +
|sprite=
 +
|portrait=
 +
|buy=
 +
|sell=
 +
|weight=
 +
|usablejobs=
 +
|type=
 +
|reqlvl=
 +
|description=
 +
|effect=
 +
}}
 +
</pre>
 +
 +
==Navbox Classes Template==
 +
 +
Edit the template [[Template:Navbox Classes|here]].
 +
 +
<pre>
 +
{|class="navbox mw-collapsible mw-collapsed" style="width:100%; max-width:900px; style="background-color:#F3E3C1; clear:right; margin:1em auto;"
 +
!colspan=2 style="padding:10px; background-color:#ECC788; "|''Classes in heRO''
 +
|-
 +
!Novice and 1-1 Class<br/>
 +
|<center>[[Novice]] • [[Super Novice]] • [[Swordsman]] • [[Thief]] • [[Archer]] • [[Mage]] • [[Merchant]] • [[Acolyte]]</center>
 +
|-
 +
!2-1 Class
 +
|<center>[[Knight/Lord Knight]] • [[Assassin/Assassin Cross]] • [[Hunter/Sniper]] • [[Wizard/High Wizard]] • [[Blacksmith/Whitesmith]] • [[Priest/High Priest]]</center>
 +
|-
 +
!2-2 Class
 +
|<center>[[Crusader/Paladin]] • [[Rogue/Stalker]] • [[Bard/Clown]] • [[Dancer/Gypsy]] • [[Sage/Professor]] • [[Alchemist/Creator]] • [[Monk/Champion]]</center>
 +
|-
 +
!Expanded Class
 +
|<center>[[TaeKwon]] • [[Star Gladiator]] • [[Soul Linker]] • [[Ninja]] • [[Gunslinger]]</center>
 +
|}<noinclude>[[Category:Templates]]</noinclude>
 +
 +
 +
</pre>
 +
 +
==Skill List Template==
 +
 +
Edit the template [[Template:Skill List|here]].
 +
 +
[[Category:Help]]

Latest revision as of 01:48, 22 August 2023

Templates

What Are They?

Templates are as the name suggests, templates! They take a specific formatting or text and transclude it into where you're using them. This makes them convenient to use when mass-editing things of a similar nature, easy to edit to begin with since they allow you to only enter the basic info, and can be changed without much hassle to suit whatever needs a wiki editor may have.

They can be used to show affection for something or someone, guild pages, user pages, character pages, etc!


How Do I Make One Myself?

By learning how to properly use wiki software! Use Google for tutorials or something. Looking after existing wiki and how they write their template is also a good place to start.

What Templates Currently Exist?

This is a list of the pre-existing list of templates. Please, add them under the previous one if you have one to add to the list!

To all editors, it should be rather self explanatory how to use them. If not, well... just copy & paste the following codes into your page, and fill out the appropriate sections!

Monster Template

Edit the template here.

{{Template:Monster
|Name=
|Race=
|Level=
|Minatk=
|Maxatk=
|Sprite=TBA
|Element=
|Hp=
|Def=
|Mdef=
|Size=
|Exp=
|Jexp=
|Mvpexp=
|Str=
|Agi=
|Vit=
|Int=
|Dex=
|Luk=
|Atkrange=
|Spellrange=
|Sightrange=
|Aspd=
|Speed=
|Stunlockdelay=
|Id=
|Minmatk=
|Maxmatk=
|Flee=
|Hit100=
|Hit=
|Flee95=
|Pet=
|Mode=Can Move, Aggressive, Can Attack, Change Chase, Change Target Melee/Chase
|Skills=*Skill Lv 1, Attacking - Always @ Target, 1s Cast Time, 8s delay, 10% chance, uninterruptable
|Drops=
|Mvpdrops=
|Location=
|Tips=
|Notes= }}

MVP Item Change Template

Edit the template here.

{{Template:MVPItem
|MonsterName=
|olditem1=
|olditem2=
|olditem3=
|olditem4=
|olditem5=
|olditem6=
|olditem7=
|olditem8=
|olditem9=
|oldcard=
|newitem1=
|newitem2=
|newitem3=
|newitem4=
|newitem5=
|newitem6=
|newitem7=
|newitem8=
|newitem9=
|newcard=
|oldmvpitem1=
|oldmvpitem2=
|oldmvpitem3=
|newmvpitem1=
|newmvpitem2=
|newmvpitem3=
|Note=
}}

Custom Gear Template

Edit the template here.

{{Template:CustomGear
|name=
|id= the item ID
|sprite= The item sprite [file name only]
|portrait= Item portrait [file name only]
|def=
|mdef=
|weight=
|refinable=
|type=
|usablejobs=
|reqlvl=
|description= 
|effect=
}}

Costume Template

Edit the template here.

{{Template:CostumeGear
|name=
|id=itemID
|sprite= The item sprite [file name only]
|portrait= Item portrait [file name only]
|type=
|description= 
}}
You may also change the color of the heading with {{CustomGear|''color'' to match colored names better.

Quest Detailed Info Template

Edit the template here.

{{Template:Quest
|image=
|levelreq=
|joblevelreq=
|classreq=
|skillreq=
|partyreq=
|itemreq=
|nitemreq=
|zenyreq=
|repreq=
|hunting=
|questreq=
|questscoreq=
|baseexpreward=
|jobexpreward=
|itemreward=
|qreward=
|repreward=
|qcooldown=
|eventnote=
}}

Quest Intro Template

Edit the template here.

{{Template:CustomQuest
|questname=
|difficulty=
|reclevel=
|repeatability=
|party=
|quereward=
|description=}}

Custom Card Template

Edit the template here.

{{Template:Card
|name=
|id=
|sprite=
|image=
|slot=
|weight=
|effect=}}


Custom Weapon Template

Edit the template here.

{{Template:CustomWeapon
|name=
|id=
|sprite=
|portrait=
|type=
|atk=
|matk=
|weight=
|refinable=
|weaponlv=
|usablejobs=
|reqlvl=
|description=
|effect=*
}}


You may also change the color of the heading with {{CustomWeapon|''color'' to match colored names better.

Item Template

Edit the template here.

{{Template:Item
|name=
|id=
|sprite= 
|portrait= 
|buy=
|sell=
|weight=
|usablejobs=
|type=
|reqlvl=
|description= 
|effect=
}}

Navbox Classes Template

Edit the template here.

{|class="navbox mw-collapsible mw-collapsed" style="width:100%; max-width:900px; style="background-color:#F3E3C1; clear:right; margin:1em auto;"
!colspan=2 style="padding:10px; background-color:#ECC788; "|''Classes in heRO''
|-
!Novice and 1-1 Class<br/>
|<center>[[Novice]] • [[Super Novice]] • [[Swordsman]] • [[Thief]] • [[Archer]] • [[Mage]] • [[Merchant]] • [[Acolyte]]</center>
|-
!2-1 Class
|<center>[[Knight/Lord Knight]] • [[Assassin/Assassin Cross]] • [[Hunter/Sniper]] • [[Wizard/High Wizard]] • [[Blacksmith/Whitesmith]] • [[Priest/High Priest]]</center>
|-
!2-2 Class
|<center>[[Crusader/Paladin]] • [[Rogue/Stalker]] • [[Bard/Clown]] • [[Dancer/Gypsy]] • [[Sage/Professor]] • [[Alchemist/Creator]] • [[Monk/Champion]]</center>
|-
!Expanded Class
|<center>[[TaeKwon]] • [[Star Gladiator]] • [[Soul Linker]] • [[Ninja]] • [[Gunslinger]]</center>
|}<noinclude>[[Category:Templates]]</noinclude>


Skill List Template

Edit the template here.