Difference between revisions of "Template:Sidebox"
From Biohacking Wiki
Line 1: | Line 1: | ||
__TOC__ | __TOC__ | ||
+ | <noinclude> | ||
+ | {{documentation}} | ||
+ | </noinclude> | ||
+ | There are a handful of different fields that mus | ||
<div class="sidebox"> | <div class="sidebox"> | ||
<div class="sidebox-title">{{{title|{{PAGENAME}}}}} Cheat Sheet</div>{{#if:{{{image|}}}| | <div class="sidebox-title">{{{title|{{PAGENAME}}}}} Cheat Sheet</div>{{#if:{{{image|}}}| | ||
Line 12: | Line 16: | ||
{{{content-1}}} | {{{content-1}}} | ||
</p> | </p> | ||
− | </div>}}{{#if:{{{list- | + | </div>}}{{#if:{{{list-1|}}}|<div class="sidebox-heading"> |
<h3> | <h3> | ||
− | Top 3 Uses | + | {{#if:{{{list-title|}}}|{{list-title}}|Top 3 Uses}} |
</h3> | </h3> | ||
</div> | </div> | ||
Line 23: | Line 27: | ||
<li>{{{list-3}}}</li> | <li>{{{list-3}}}</li> | ||
</ul> | </ul> | ||
− | </div>}}{{#if:{{{ | + | </div>}}{{#if:{{{split-content-left|}}}|<div class="sidebox-heading"> |
<h3> | <h3> | ||
− | How To Take It | + | {{#if:{{{split-title|}}}|{{split-title}}|How To Take It}} |
</h3> | </h3> | ||
</div> | </div> | ||
Line 32: | Line 36: | ||
<div class="sidebox-content-subheading"> | <div class="sidebox-content-subheading"> | ||
<h4> | <h4> | ||
− | + | {{#if:{{{split-left-title|}}}|{{split-left-title}}|How To Take It}} | |
</h4> | </h4> | ||
</div> | </div> | ||
<p> | <p> | ||
− | {{{ | + | {{{split-content-left}}} |
</p> | </p> | ||
</div> | </div> | ||
Line 43: | Line 47: | ||
<div class="sidebox-content-subheading"> | <div class="sidebox-content-subheading"> | ||
<h4> | <h4> | ||
− | Timing | + | {{#if:{{{split-right-title|}}}|{{split-left-title}}|Timing}} |
</h4> | </h4> | ||
</div> | </div> | ||
<p> | <p> | ||
− | {{{ | + | {{{split-content-right}}} |
</p> | </p> | ||
</div> | </div> | ||
</div> | </div> | ||
− | }}{{#if:{{{ | + | }}{{#if:{{{content-2|}}}|<div class="sidebox-heading"> |
<h3> | <h3> | ||
− | + | {{#if:{{{title-2|}}}|{{title-2}}|Other Stuff}} | |
</h3> | </h3> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</div> | </div> | ||
− | + | <div class="sidebox-content"> | |
− | + | <p> | |
− | + | {{{content-2}}} | |
− | + | </p> | |
− | + | </div>}}{{#if:{{{notes|}}}|<div class="sidebox-heading"> | |
− | <div class="sidebox-content | ||
− | < | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | </div> | ||
− | |||
<h3> | <h3> | ||
Important Notes | Important Notes |
Revision as of 18:39, 26 June 2019
Contents
There are a handful of different fields that mus
Sidebox Cheat Sheet
supplement summary
- use 1
- use 2
- use 3
How To Take It
dosage - mg/day, etc. OR
Timing
morning, evening, with or without meals
Important Notes
additional information, e.g. best form
This is the sidebox that should be included as a cheat sheet for all wiki pages. For those who don't have time to delve into the details and want a quick summary, or for ease of memorization.
Usage
To call
{{sidebox |image = |title-1= First Title. Defaults to "*Summary*" |content-1 = supplement summary |list-title= List Title. Defaults to "*Top 3 Uses* |list-1 = use 1 |list-2 = use 2 |list-3 = use 3 |split-title = Split box title. Defaults to "*How To Take It*" |split-title-left = Split box left-hand sub-title. Defaults to "*Timing*" |split-content-left = dosage - mg/day, etc. OR |split-content-left-list = any list HTML here; it doesn't have any <p> tags |split-title-right = Split box right-hand sub-title. Defaults to "*dosage*" |split-content-right = morning, evening, with or without meals |notes = additional information, e.g. best form }}
The above documentation is transcluded from Template:Sidebox/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |
There are a handful of different fields that mus
Sidebox Cheat Sheet