Difference between revisions of "Templates"

From HeRO Wiki
Jump to: navigation, search
(Quest Intro Template)
m (Reverted edits by Peeka (talk) to last revision by Ayu)
Line 1: Line 1:
 +
__NOTOC__
 
==Templates==
 
==Templates==
 +
 
===What Are They?===
 
===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.
 
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!
 +
  
 
===How Do I Make One Myself?===
 
===How Do I Make One Myself?===
Line 14: Line 17:
 
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!
  
==heRO Templates==
+
===Monster Template===
===Card===
+
<pre>{{Template:Card
+
|name=
+
|id=
+
|sprite=
+
|artist=
+
|image=
+
|slot=
+
|weight=
+
|effect=}}</pre>
+
<noinclude>This template is used in the [[cards]] page.
+
 
+
===Gear===
+
<pre>{{Template:CustomGear
+
|name=
+
|id= the item ID
+
|sprite= The item sprite [file name only]
+
|copyright=
+
|portrait= Item portrait [file name only]
+
|def=
+
|mdef=
+
|weight=
+
|refinable=
+
|type=
+
|usablejobs=
+
|reqlvl=
+
|description=
+
|effect=
+
}}</pre>
+
 
+
 
+
===Item===
+
<pre>
+
{{Template:Item
+
|name=
+
|id=
+
|sprite=
+
|copyright=
+
|portrait=
+
|buy=
+
|sell=
+
|weight=
+
|usablejobs=
+
|type=
+
|reqlvl=
+
|description=  
+
|effect=
+
}}
+
</pre>
+
  
===Monster===
 
 
<pre>{{Template:Monster
 
<pre>{{Template:Monster
 
|Name=
 
|Name=
Line 108: Line 61:
 
|Notes= }}</pre>
 
|Notes= }}</pre>
  
===Monster Item===
+
===MVP Item Change Template===
<pre>
+
{{Template:MonsterItem
+
|MonsterName=
+
|olditem1=
+
|olditem2=
+
|olditem3=
+
|olditem4=
+
|olditem5=
+
|olditem6=
+
|olditem7=
+
|olditem8=
+
|olditem9=
+
|oldcard=
+
|newitem1=
+
|newitem2=
+
|newitem3=
+
|newitem4=
+
|newitem5=
+
|newitem6=
+
|newitem7=
+
|newitem8=
+
|newitem9=
+
|newcard=
+
|Note=
+
}}
+
</pre>This template is used to show customized non-MVP monsters with customized item changes but are not changed in any other way.</noinclude>
+
 
+
===MVP Item===
+
  
 
<pre>{{Template:MVPItem
 
<pre>{{Template:MVPItem
Line 169: Line 94:
 
}}</pre>
 
}}</pre>
  
===Quest Detailed Info===
+
===Custom Gear Template===
 +
 
 +
<pre>{{Template:CustomGear
 +
|name=
 +
|id= the item ID
 +
|sprite= The item sprite [file name only]
 +
|copyright=
 +
|portrait= Item portrait [file name only]
 +
|def=
 +
|mdef=
 +
|weight=
 +
|refinable=
 +
|type=
 +
|usablejobs=
 +
|reqlvl=
 +
|description=
 +
|effect=
 +
}}</pre>
 +
 
 +
===Quest Detailed Info Template===
  
 
<pre>{{Template:Quest
 
<pre>{{Template:Quest
Line 191: Line 135:
 
===Quest Intro Template===
 
===Quest Intro Template===
  
<pre>{{quest
+
<pre>{{User:Fatalis/CustomQuestTemplate
|levelreq=
+
|questname=
|joblevelreq=
+
|difficulty=
|classreq=
+
|reclevel=
|skillreq=
+
|repeatability=
|partyreq=
+
|party=
|itemreq=
+
|quereward=
|nitemreq=
+
|description=}}</pre>
|zenyreq=
+
|hunting=
+
|questreq=
+
|questscoreq=
+
|baseexpreward=
+
|jobexpreward=
+
|itemreward=
+
|qreward=
+
}}</pre>
+
  
===Weapon===
+
 
 +
===Custom Card Template===
 +
<pre>{{Template:Card
 +
|name=
 +
|id=
 +
|sprite=
 +
|artist=
 +
|image=
 +
|slot=
 +
|weight=
 +
|effect=}}</pre>
 +
 
 +
 
 +
===Custom Weapon Template===
 
<pre>{{CustomWeapon
 
<pre>{{CustomWeapon
 
|name=
 
|name=
Line 228: Line 176:
 
}}</pre>
 
}}</pre>
  
[[category:Template]]
+
==Item Template==
 +
<pre>
 +
{{Template:Item
 +
|name=
 +
|id=
 +
|sprite=
 +
|copyright=
 +
|portrait=
 +
|buy=
 +
|sell=
 +
|weight=
 +
|usablejobs=
 +
|type=
 +
|reqlvl=
 +
|description=
 +
|effect=
 +
}}
 +
</pre>

Revision as of 15:38, 29 October 2018

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

{{Template:Monster
|Name=
|Id=
|Sprite=
|Level=
|Hp=
|Str=
|Agi=
|Vit=
|Int=
|Dex=
|Luk=
|Minatk=
|Maxatk=
|Minmatk=
|Maxmatk=
|Def=
|Mdef=
|Exp=
|Jexp=
|Mvpexp=
|Race=
|Element=
|Size=
|Flee=
|Hit100=
|Hit=
|Flee95=
|Atkrange=
|Spellrange=
|Sightrange=
|Speed=
|Aspd=
|Stunlockdelay=
|Pet=
|Mode=
|Skills=
|Drops=
|Mvpdrops=
|Tips=
|Notes= }}

MVP Item Change Template

{{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

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

Quest Detailed Info Template

{{Template:Quest
| levelreq =
| joblevelreq =
| classreq = 
| skillreq =
| partyreq = 
| itemreq =
| nitemreq =
| zenyreq = 
| hunting =
| questsreq =
| questscoreq =
| baseexpreward =
| jobexpreward =
| itemreward = 
| qreward = 
}}

Quest Intro Template

{{User:Fatalis/CustomQuestTemplate
|questname=
|difficulty=
|reclevel=
|repeatability=
|party=
|quereward=
|description=}}


Custom Card Template

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


Custom Weapon Template

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

Item Template

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