Registration has been disabled and the moderation extension has been turned off.
Contact an admin on Discord or EDF if you want an account. Also fuck bots.

Template:Ibhead: Difference between revisions

From Encyclopedia Dramatica
Jump to navigation Jump to search
imported>Typhoon
No edit summary
 
imported>TabbyGarf
No edit summary
 
(18 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude><nowiki>{{ibhead|caption}}</nowiki>
<includeonly>|-  
This template creates a heading caption in an info box created by {{tname|ib}}. Parameter one determines the text of the heading.
<hr /></noinclude><includeonly>|-  
!  colspan="2" style="background:#d0d0d0" align="center" | {{{1}}}</includeonly><noinclude>
!  colspan="2" style="background:#d0d0d0" align="center" | {{{1}}}</includeonly><noinclude>
{{ib|Example Infobox}}
{{documentation}}
{{Ibhead|Example Header}}
[[Category:Infobox Templates|{{PAGENAME}}]]
{{Ibrow|row 1|Cell 2}}
{{Ibrow|row 2|Cell 4}}
{{Ibend}}
<br />Use this template along with {{tname|ibhead}}, {{tname|ibrow}}, and {{tname|ibend}} to create a generic infobox. See table below for an explanation of each template. See example infobox at right.
<b>Usage:</b> Enter the templates in the order listed below, repeating or eliminating templates as necessary to produce the layout you desire.
{|  border="1" cellspacing="2" cellpadding="4"
! Code
! Explanation
|-
| <nowiki>{{ib|Infobox Title}}</nowiki>
| Opens the info box.
|-
| <nowiki>{{ibhead|Header text}}</nowiki>
| Creates a heading within the infobox. Optional, repeat as necessary to create new sections.
|-
| <nowiki>{{ibrow|description|info}}</nowiki>
| Creates a row within the infobox. Repeat as necessary.
|-
| <nowiki>{{ibend}}</nowiki>
| Closes the infobox.
|}
[[Category:Formatting Templates|{{PAGENAME}}]]
</noinclude>
</noinclude>

Latest revision as of 00:14, 21 February 2022

[view] [edit] [history] [purge] Documentation icon Template documentation
Example Infobox
Example Header
row 1 Cell 2
row 2 Cell 4


Use this template along with {{ib}}, {{ibrow}}, and {{ibend}} to create a generic infobox. See table below for an explanation of each template. See example infobox at right.


Usage: Enter the templates in the order listed below, repeating or eliminating templates as necessary to produce the layout you desire.

Code Explanation
{{ib|Infobox Title}} Opens the info box.
{{ibhead|Header text}} Creates a heading within the infobox. Optional, repeat as necessary to create new sections.
{{ibrow|description|info}} Creates a row within the infobox. Repeat as necessary.
{{ibend}} Closes the infobox.