Template:Verbtable: Difference between revisions

The official GemStone IV encyclopedia.
Jump to navigation Jump to search
No edit summary
(removed minimum table size requirements, and example cell size requirements to allow for adjustable table size for smaller screens.)
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>border="2" style="width: 60em; margin: 10px 1px 10px 10px; clear:both; background:#E6ECFA; border: 1px #aaa solid; border-collapse: collapse; padding-left: 1em; padding-right: 1em"</includeonly>
<includeonly>border="2" style="margin: 10px 1px 10px 10px; clear:both; background:#E6ECFA; border: 1px #aaa solid; border-collapse: collapse;"</includeonly>
<noinclude>This template can be used to record [[verb]] command actions in a table format. This is a supplemental template to be used with the [[verbinfo]] template.
<noinclude>This template can be used to record [[verb]] command actions in a table format. This is a supplemental template to be used with the [[verbinfo]] template.


Line 5: Line 5:


<pre{{log2}}>
<pre{{log2}}>
<nowiki>{{verbtableheader}}</nowiki>
|- style="background:#00004C; vertical-align: top; font-size: larger; color:white;"
</pre>
</pre>


===Example===
===Example===
<pre{{log2}}><nowiki>{| {{verbtable}}
<pre{{log2}}><nowiki>{| {{verbtable}}
|- {{verbtableheader}}
|- style="background:#00004C; vertical-align: top; font-size: larger; color:white;"
! style="width:5em;"|Style
! style="width:5em;"|Style
! style="width:35em;"|First
! First
! style="width:35em;"|Third
! Third
|-
|-
| Style
! Style
| First Person View
| First Person View
| Third Person View
| Third Person View
Line 23: Line 23:
|- style="background:#00004C; vertical-align: top; font-size: larger; color:white;"
|- style="background:#00004C; vertical-align: top; font-size: larger; color:white;"
! style="width:5em;"|Style
! style="width:5em;"|Style
! style="width:35em;"|First
! First
! style="width:35em;"|Third
! Third
|-
|-
| Style
! Style
| First Person View
| First Person View
| Third Person View
| Third Person View

Revision as of 13:43, 17 October 2020

This template can be used to record verb command actions in a table format. This is a supplemental template to be used with the verbinfo template.

In order to create the heading(s) for the table, copy and paste this code into the table in the line following the template inclusion (see example).

{{verbtableheader}}

Example

{| {{verbtable}}
|- {{verbtableheader}}
! style="width:5em;"|Style
! First
! Third
|-
! Style
| First Person View
| Third Person View
|}
Style First Third
Style First Person View Third Person View