Difference between revisions of "Template:Sidebox"

From Biohacking Wiki
 
Line 26: Line 26:
 
           <li>{{{list-3}}}</li>
 
           <li>{{{list-3}}}</li>
 
         </ul>
 
         </ul>
       </div>}}{{#if:{{{split-content-left|}}}|<div class="sidebox-heading">
+
       </div>}}{{#if:{{{split-content-right|}}}|<div class="sidebox-heading">
 
         <h3>
 
         <h3>
 
           {{#if:{{{split-title|}}}|{{{split-title}}}|How To Take It}}
 
           {{#if:{{{split-title|}}}|{{{split-title}}}|How To Take It}}

Latest revision as of 13:40, 27 June 2019

Template documentation[view] [edit] [history] [purge]


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
}}