Template:ZRuneBox: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
(18 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<!-- Doc --> | |||
<noinclude>{{ZRuneBox/doc}}</noinclude> | |||
<!-- Doc End --> | |||
<!-- Template Block --> | |||
<includeonly> | <includeonly> | ||
<div class="rune-box"> | <div class="rune-box" style="display: grid;grid-template-columns: 2fr 1fr; grid-template-rows: 50px auto"> | ||
<!-- Title Block | <!-- Title Block --> | ||
<div class="rune-name3" style="grid-column: 1 | <div class="rune-name3" style="grid-column: 1; grid-row: 1;"> | ||
<h1>{{{title|Rune Title Missing}}}</h1> | |||
</div> | </div> | ||
<!-- Title Block Ends --> | <!-- Title Block Ends --> | ||
<!-- Info Block --> | <!-- Info Block --> | ||
Line 31: | Line 34: | ||
}} | }} | ||
<!-- Videos | <!-- Videos --> | ||
{{#if: {{{videotitle|}}} |<p class="rune-box-header">'''Video(s)'''</p> | {{#if: {{{videotitle|}}} |<p class="rune-box-header">'''Video(s)'''</p> | ||
[{{{video}}} {{{videotitle|}}}]}} | [{{{video}}} {{{videotitle|}}}]}} | ||
Line 50: | Line 53: | ||
</div> | </div> | ||
<!-- Info Block Ends--> | <!-- Info Block Ends--> | ||
<!-- Display Block Starts--> | <!-- Display Block Starts--> | ||
Line 102: | Line 102: | ||
</div> | </div> | ||
</div> | </div> | ||
<!-- Display Block Ends--> | |||
<!-- Display Block | |||
<!-- Rune | <!-- Rune Patterns Start --> | ||
<div class="rune-pattern"> | <div class="rune-pattern" style="grid-column: 1 / span 2; grid-row: 3;"> | ||
{{#ifeq: {{{pattern_version|}}} | 3 | {{#ifeq: {{{pattern_version|}}} | 3 | ||
|{{LoadBox|page={{FULLPAGENAME}}/Pattern3|title=Rune Pattern|float=none}}{{-}} | |{{LoadBox|page={{FULLPAGENAME}}/Pattern3|title=Rune Pattern|float=none}}{{-}} | ||
Line 122: | Line 115: | ||
}} | }} | ||
</div> | </div> | ||
<!-- Rune | <!-- Rune Patterns End --> | ||
<hr style="grid-column: 1 / span 2; grid-row: 4;"> | |||
<!-- Admin Info --> | <!-- Admin Info --> | ||
<div style="grid-column: 1 / span 2; grid-row: 5;"> | |||
<h3>Admin Information</h3> | <h3>Admin Information</h3> | ||
Line 133: | Line 129: | ||
{{{disabledrunestxt|}}}}} | {{{disabledrunestxt|}}}}} | ||
{{LoadBox|page={{ | {{#ifeq: {{{pattern_version|}}} | 3 | ||
|{{LoadBox|page={{FULLPAGENAME}}/Changelog3|title=Changelog|float=none}}{{-}} | |||
| | |||
}} | |||
{{#ifeq: {{{pattern_version|}}} | 4 | |||
|{{LoadBox|page={{FULLPAGENAME}}/Changelog4|title=Changelog|float=none}}{{-}} | |||
| | |||
}} | |||
</div> | |||
<!-- Admin Info Ends --> | <!-- Admin Info Ends --> | ||
</div> | </div> | ||
</includeonly> | |||
<!-- Template Block Ends --> |
Latest revision as of 14:40, 16 September 2024
Modified Version of the currently used Template:RuneBox
You can see an example on the Runes/Beginning/ZRuneBoxExample Page
The point of version is to allow pages to be made quickly just by filling in a few parameters
Parameter | Description | Example |
---|---|---|
title | Name of the Rune the page is for | Initiation |
materials | The materials/blocks needed to create this rune | 20 cobblestone, 1 fire |
size | The dimensions of the rune | 7x7x1 |
tools | The tools required to activate the rune | Use with empty hand |
uses | Whether the rune is one use only or reusable | Once |
disp_widget | Widget that displays 3D render | |
pattern_version | Version of runecraft this is for (3 or 4) | 4 |
effect | Description of what this rune does | This rune initiates a player into Runecrafting |
instructions | How to activate the rune | After lighting the fire, right click the block under the fire with your hand |
videotitle | Title of video to add. You can add more videos by appending numbers 2-7 to the end of the parameter name. | Runecraft 101: Initiation Rune |
video | Link to the video of the above. You can add more videos by appending numbers 2-7 to the end of the parameter name. | https://www.youtube.com/watch?v=SXNhNgbEwJo |
permissions | List of permissions for the rune separated by <br>with no spaces |
-runecraft.runes.initiation -runecraft.runes.initiation.use |
disabledrunestxt | name that you need to add to disabledrunes.txt to disable the rune | initiation |