This website is a read-only preview of RuneLibris. Some features may not work. For more information about the full feature-complete version of this wiki, please visit this link.

(Archive index)

Info/Template

From RuneLibris
Jump to: navigation, search

Overview[edit]

This page document various useful information about MediaWiki templates[1].

General notes[edit]

  • When designing a template with the ability hide rows (i.e Template:Task), keep in mind that the table inside the template shouldn't contains any ||. Make a standard table using |. Inside conditions that generates a row, | need to be substitued by {{!}}[2].

Colored table[edit]

Using inline CSS, it is possible to set the color of individual cells in a table. Keep it mind that the colored cells won't show up in a DPL unless you invoke the full template.[3]:

{| class="wikitable sortable"
|-
! God
|-
| Saradomin
|-
| style="background-color:red" | Zamorak
| style="background-color:red" | Zamorak
|-
| Guthix
|}



References[edit]

  1. Data directly entered in RuneLibris by manpaint on 2025-06-11
  2. Data directly entered in RuneLibris by manpaint on 2025-06-11
  3. Data directly entered in RuneLibris by manpaint on 2025-06-11