User:CrsBenjamin/Mobile app table descriptions

This is an explanation of how to add descriptions to tables that will be shown to users in the Gamepedia Mobile App. Please note that the actual implementation of this information may vary from wiki to wiki and even from table to table depending on how the table is constructed.

Introduction
When using the Gamepedia mobile app for a wiki, large tables that do not fit the width of the device are rendered as a sort of button containing (by default) the text “View Table.” However, Gamepedia Wiki Apps also allow for tables to be given a description which will then be rendered in-app as “View Table: {Description}." Having this extra information is helpful for users so that they can be sure they are accessing the correct table. It is particularly useful on pages that have many tables, or with tables that are directly adjacent to one another within the same section of the page.

Basics
In its most basic form, all that is needed is to add the text data-description="Short Description" to the first line of the table.

Advanced Tables
Many tables on Gamepedia are generated through the use of templates. Adding the description attribute to these tables may require some additional steps. In most cases, it will be necessary to edit the template to include a parameter allowing for the addition of the data-description attribute. Exercise caution when editing templates that are widely used on your wiki. If you're not familiar with how the templates for a particular table are set up you can ask one of your administrators or check the template's history to see who created it or maintains it.