Template:Guides/doc: Difference between revisions

From Roat Pkz
Jump to navigation Jump to search
No edit summary
No edit summary
Line 194: Line 194:
The '''picture link table''' template is a variant of {{t|plink}} used to created image-and-text links within tables.
The '''picture link table''' template is a variant of {{t|plink}} used to created image-and-text links within tables.


==Usage==
Usage
{{T|plinkt|item|pic=file name|txt=text}}
{{T|plinkt|item|pic=file name|txt=text}}


==Examples==
Examples
{|class="wikitable"
{|class="wikitable"
!Code
!Code
Line 219: Line 219:
This template is not intended to be commonly used in mainspace articles. It is primarily used in navboxes and tables to add images to help with navigation. In most other cases, pages should be linked with normal markup and without an image.
This template is not intended to be commonly used in mainspace articles. It is primarily used in navboxes and tables to add images to help with navigation. In most other cases, pages should be linked with normal markup and without an image.


==Usage==
Usage
<pre>{{plink|item|pic=file name|txt=text}}</pre>
<pre>{{plink|item|pic=file name|txt=text}}</pre>



Revision as of 12:40, 1 April 2024

Working templates

INFOBOX MONSTER

Template:Guides/doc
? (edit)
Released? (edit)
Donator? (edit)
Combat level? (edit)
Examine? (edit)
Combat info
AttributeNone
Max hit? (edit)
Aggressive? (edit)
Poisonous? (edit)
Attack style? (edit)
Attack speed? (edit)
Respawn time(Optional)
Slayer info
Slayer level(Optional)
Slayer XP(Optional)
Category(Optional)
Assigned by? (edit)
Combat stats
? (edit)? (edit)? (edit)? (edit)? (edit)? (edit)
Aggressive stats
Monster attack bonusMonster strength bonusMonster magic strength bonusMonster ranged strength bonus
? (edit)? (edit)? (edit)? (edit)? (edit)? (edit)
Defensive stats
? (edit)? (edit)? (edit)? (edit)? (edit)
Advanced data
Monster ID? (edit)
{{Infobox Monster
|name = 
|image = 
|release = 
|update = 
|members = 
|combat = 
|size = 
|examine = 
|attributes = (Optional)
|max hit = 
|aggressive = 
|poisonous = 
|attack style = 
|attack speed = 
|respawn = (Optional)
|slaylvl = (Optional)
|slayxp = (Optional)
|cat = (Optional)
|assignedby = (Optional)
|hitpoints = 
|att = 
|str = 
|def = 
|mage = 
|range = 
|attbns = 
|strbns = 
|amagic = 
|mbns = 
|arange = 
|rngbns = 
|dstab = 
|dslash = 
|dcrush = 
|dmagic = 
|drange = 
|id = 
}}



Infobox Pure

Hemmi80
MembersYes
Also calledGod
Build type1-vs-1
Combat level126
Primary attack style
Example combat stats
999999999999999999999999999912748
 {{Infobox Pure
|name = <!-- name of the build -->
|aka = <!-- when applicable: other names of this build -->
|image = <!-- example image of what the build looks like with its gear on -->
|members = <!-- either Yes or No -->
|ironman = <!-- if this build is made for playing as an ironman, e.g. to prevent gaining hitpoints experience -->
|type = <!-- comma seperated list; choose: 1v1, tank, scout, multi, no-honour, ragger, skiller.
|combat = <!-- combat level for this pure; can also be a range of combat level, separated by a comma. -->
|uses melee = <!-- yes / no: account uses melee attack style -->
|uses ranged = <!-- yes / no: account uses ranged attack style -->
|uses magic = <!-- yes / no: account uses magic attack style -->
|attack style = <!-- optional: which combat style is the primary attacking style of this build; either melee, magic, ranged, hybrid or no (only 'no' if this build is not meant for attacking) -->
|weapons = <!-- list of weapons for which the max hit will be given; must specify the same amount of weapons and max hits -->
|max hit = <!-- list of maximum possible hits corresponding to the weapons defined in the previous parameter -->
|hitpoints = <!-- ideal hitpoints level for this build -->
|att = <!-- ideal attack level for this build -->
|str = <!-- ideal strength level for this build -->
|def = <!-- ideal defence level for this build -->
|mage = <!-- ideal magic level for this build -->
|range = <!-- ideal ranged level for this build -->
|pray = <!-- ideal prayer level for this build -->
}}


SCP

The SCP template displays a clickable skill icon picture that links to the skill page. This can be also be used in other templates that display skill icons.

Usage

{{SCP|<skill>|<number>|link = (optional) yes}}

Examples

Just skill:

{{SCP|Magic}}

Skill and level:

{{SCP|Magic|50}}

50

Skill, level, and link:

{{SCP|Magic|50|link=yes}}

50 [[]]

Non-skill clickpics

This template can produce a number of clickpics which are not skill icons.

Name Image Link
overall Skills
diary Achievement Diary
combatachievement Combat Achievements
combat Combat level
combatstyle Combat styles
dd Distractions and Diversions
favour Kourend Favour
minigame Minigames
music Music Music
raid Raids
quest Quest points
time Time
total Total level


PLINKT

Been edited so it doesnt link

The picture link table template is a variant of {{plink}} used to created image-and-text links within tables.

Usage {{plinkt|item|txt=text|pic=file name}}

Examples

Code Produces Standard syntax
{{plinkt|Abyssal whip}} Abyssal whip [[File:Abyssal whip.png|link=Abyssal whip]]||[[Abyssal whip]]
{{plinkt|Granite maul|pic=Abyssal whip}} Granite maul [[File:Abyssal whip.png|link=Granite maul]]||[[Granite maul]]

PLINK

The picture link template creates an image and links it to the page as well as including text. For a textless version, use {{plinkp}}.

This template is not intended to be commonly used in mainspace articles. It is primarily used in navboxes and tables to add images to help with navigation. In most other cases, pages should be linked with normal markup and without an image.

Usage

{{plink|item|pic=file name|txt=text}}

Examples

Examples
Code Produces Standard syntax
{{plink|Abyssal whip}} Abyssal whip Abyssal whip [[File:Abyssal whip.png|link=Abyssal whip]] [[Abyssal whip]]
{{plink|Granite maul|pic=Abyssal whip}} Granite maul Granite maul [[File:Abyssal whip.png|link=Granite maul]] [[Granite maul]]
{{plink|Abyssal whip|txt=Whip}} Abyssal whip Whip [[File:Abyssal whip.png|link=Abyssal whip]] [[Abyssal whip|Whip]]
{{plink|Granite maul|pic=Abyssal whip|txt=Whip}} Granite maul Whip [[File:Abyssal whip.png|link=Granite maul]] [[Granite maul|Whip]]