Difference between revisions of "User:MNDeveloper/Template:TemplateDoc"

From DDO Compendium
Line 55: Line 55:


<table width=100% border=1 style="border: solid 1px white;">
<table width=100% border=1 style="border: solid 1px white;">
<tr><td colspan=2 style="padding:3px; font-size:16px">Example usage</td><tr>
<tr><td colspan=2 style="padding:3px; font-size:16px; text-alignment: center;">Example usage</td><tr>
<tr><td width=50% style="padding:3px">{{{example1}}}</td><td style="padding:3px">{{{example1output}}}</td></tr>
<tr><td width=50% style="padding:3px">{{{example1}}}</td><td style="padding:3px">{{{example1output}}}</td></tr>
{{#if: {{{example2|}} | <tr><td width=50% style="padding:3px">{{{example2}}}</td><td style="padding:3px">{{{example2output}}}</td></tr>}}
{{#if: {{{example2|}} | <tr><td width=50% style="padding:3px">{{{example2}}}</td><td style="padding:3px">{{{example2output}}}</td></tr>}}

Revision as of 18:28, 4 May 2018

How To Use This Template[edit]

This template is to add documentation to a template. It should be included at the top of the template before the onlyinclude section


Template[edit]

{{{name}}}[edit]

{{{description}}}

Example usage
{{{example1}}}{{{example1output}}}
{{{example2}}}{{{example2output}}}
{{{example3}}}{{{example3output}}}
{{{example4}}}{{{example4output}}}