WIKI IS CURRENTLY UNDER CONSTRUCTION

Difference between revisions of "Template:Guildtemplate"

From OldSchool RSPS
Jump to navigation Jump to search
Line 3: Line 3:
<div style="display: flex; float: right; flex-direction: column; max-width: 250px; margin-right: 15px;">
<div style="display: flex; float: right; flex-direction: column; max-width: 250px; margin-right: 15px;">
[[File:{{iconDir}}.png|250px|center]]
[[File:{{iconDir}}.png|250px|center]]
<p style="text-align: center; font-weight: bold; padding: 15px;">{{{placeName}}}</p>
<p style="text-align: center; font-weight: bold; padding: 15px;">{{{placename}}}</p>
{| style="float:right; width: 100%; background-color: #0f0f0f; border: solid 1px white; font-size: 14px; margin-left: 15px;"  
{| style="float:right; width: 100%; background-color: #0f0f0f; border: solid 1px white; font-size: 14px; margin-left: 15px;"  
|- style="display: flex; flex-flow: wrap; justify-content: flex-start; gap: 5px; margin: 5px 0 5px 0;"
|- style="display: flex; flex-flow: wrap; justify-content: flex-start; gap: 5px; margin: 5px 0 5px 0;"
Line 9: Line 9:
| style="flex-basis: 40%;" | {{{location}}}
| style="flex-basis: 40%;" | {{{location}}}
| style="flex-basis: 40%; font-weight: bold;  text-align: right;" | Required level
| style="flex-basis: 40%; font-weight: bold;  text-align: right;" | Required level
| style="flex-basis: 40%;" | {{{requiredLvl}}}
| style="flex-basis: 40%; font-weight: bold;  text-align: right;" | Max hit
| style="flex-basis: 40%;" | {{{maxHit}}}
| style="flex-basis: 40%; font-weight: bold;  text-align: right;" | Aggressive
| style="flex-basis: 40%;" | {{{isAggressive}}}
|}</div>
|}</div>
</onlyinclude>
</onlyinclude>
Line 23: Line 18:


  <nowiki>{{Guildtemplate
  <nowiki>{{Guildtemplate
|placename=
|location=
|location=
|iconDir=
|iconDir=
|requiredLvl=
|}}</nowiki>
|}}</nowiki>




[[Category:Infoboxes]]
[[Category:Infoboxes]]

Revision as of 02:34, 5 May 2022

[[File:Template:IconDir.png|250px|center]]

{{{placename}}}

Location {{{location}}} Required level


This is a example template to use in the completionist guild, will be soon changed to be more general.

NOTE

iconDir will only work with a .png extension on the template.


{{Guildtemplate
|placename=
|location=
|iconDir=
|}}