Templates

From iGeek
Jump to: navigation, search

Describe templates for the website.

  • Special:UncategorizedTemplates
  • Template: Extension DPL <- uses DPL
  • {T0|PageName} formatting section -- won't wrap or stack in this area
  • {T1|PageName} shaded box
  • {Footer|PageName} -- the bottom of every article page
    • {Q0| Quote | Name | Citation } bockquoted(indented) table -1 row
    • {Q1| Quote | Name | Citation } 220px left floating (will stack).
    • {B1|PageName} - bolded
    • {H1|PageName} - Include other page (and summary) with H2
    • {{H1L2| PageName | SectionName (Default=LEDE2) }} - Include page's LEDE2 with H2
    • {H11| PageName|LinkName} - Include other page (and summary) with H2, and alternate name from links as second param
    • {H2|PageName} - Include other page (and summary) with H3
    • {H21| PageName|LinkName}- Include other page (and summary) with H3, and alternate name from links as second param
    • {{Hilight | CONTENT }} - Highlight rant of text
    • {{A0 | TITLE | OPTIONALTITLE | CONTENT }} - Whatever you want in content can use {{:TITLE}}
    • {{A1 | TITLE | OPTIONALTITLE | width=320px }} - width = optional size (80%)
    • {{A1L2 | TITLE | LEDE2 | width=320px }} -A1 with alternate LEDE

NavBoxes


Tables

{| class="wikitable"
{{Template:Inforow
| title=[[Image: Something |240px]]
| body = [[Link]] - Body.
}}
|}

Examples:

Format

  • <h5><small>Sample Text</small></h5>
Sample Text
  • <div class="well well-sm">Well Sample</div>
Well Sample
  • <mark>Mark Sample</mark>

Mark Sample

My helpers

Getting started

Clear Cache

Settings


🗄


Table

{| |- style="vertical-align:top;"
|
* Col 1 *
|
[[image: Spacer.png|20px]]
|
* Col 2
|}

Fragments

  • LabeledSectionTransclusion - {{#lsth:Michael_Brown| Addendum }}
  • Second Lede Include - {{ H1L2| CRA, Fannie/Freddie Theory | LEDE2 }}
  • Second Lede Marking - <noinclude><includeonly>== LEDE2 == {CONTENT} == End == {COMMENTS}</includeonly></noinclude>
  • Highlight - {{ Hilight | [Data Here] }}
  • Comment - <!-- Comment -->

<span style="background:#FF9"></span>

Manually include

== Birth of Birthers == {{Hatnote|Main article: [[Birth of Birthers]]}} {{#lsth: Birth of Birthers | LEDE2 }} <noinclude><includeonly> == LEDE2 == [[Image: spacer.png | 96px|right|]]Details. == Unhide == </includeonly></noinclude>

Quotes - https://bootsnipp.com/snippets/6npbB

  • tweeki-base.less
  • tweeki-base.less | #catlinks -
  • elements.css | kbd -

<dpl> category= Memes-Epstein namespace = Image order=ascending format = <gallery widths="200px" heights="180px">,%PAGE%|<font color=grey><small>{{:File:%TITLE%}}</small></font>\n,,</gallery> resultsheader=<span class="label label-warning">[[Memes-Body count]]</span> : <span class="badge">%TOTALPAGES% items</span><br /> </dpl> ---- <dpl> category= Memes-Epstein namespace = Image order=ascending format = <gallery widths="252px" heights="1px" mode="nolines">,spacer.png|,{{Img|%TITLE%}}\n,,</gallery> resultsheader=<span class="label label-warning">[[Memes-Body count]]</span> : <span class="badge">%TOTALPAGES% items</span><br /> </dpl> ---- {{T0|<DPL> category= Memes-Epstein notnamespace=Template order=ascending ordermethod = title format = ,{{Img|%TITLE%|align=left}},, resultsheader=<span class="label label-warning">[[Memes-Epstein]]</span> : <span class="badge">%TOTALPAGES% items</span><br /> </DPL> }}

New