Template:Example Table

From Arcen Wiki
Revision as of 18:06, 31 January 2015 by Zogheen (talk | contribs) (4 revisions: Taken from http://www.uesp.net)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Summary

This template is used to create a clean-looking table for displaying examples on pages.

Parameters

Example Table
Parameter Scope Description

{{#splitargs:Parameters/Line|3}}

Examples

With Header

<pre style="width:; white-space:-moz-pre-wrap; white-space:-pre-wrap; white-space:-o-pre-wrap; white-space:pre-wrap; word-wrap:break-word; ">{{Example Table|header=Example|Lorem ipsum dolor sit amet}}

Example
Lorem ipsum dolor sit amet

Without Header

<pre style="width:; white-space:-moz-pre-wrap; white-space:-pre-wrap; white-space:-o-pre-wrap; white-space:pre-wrap; word-wrap:break-word; ">{{Example Table|Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.}}

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

Without Header, Centered, 50% Width

<pre style="width:; white-space:-moz-pre-wrap; white-space:-pre-wrap; white-space:-o-pre-wrap; white-space:pre-wrap; word-wrap:break-word; ">{{Example Table|align=center|width=50%|Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.}}

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.