Difference between revisions of "Template:Info block"

From Wayne County, Ohio Online Resource Center
Jump to navigation Jump to search
Line 47: Line 47:
  
  
;Example (right)
+
;Example (right + important) (see [[Template:Info section]])
 
<pre>
 
<pre>
 
{{Info block
 
{{Info block
Line 54: Line 54:
 
{{info section|content=Section content}}
 
{{info section|content=Section content}}
 
{{info section|content=Section content}}
 
{{info section|content=Section content}}
{{info section|content=Section content}}
+
{{info section|content=Section content|important=1}}
 
|footer=Footer text
 
|footer=Footer text
 
|position=right
 
|position=right
Line 66: Line 66:
 
{{info section|content=Section content}}
 
{{info section|content=Section content}}
 
{{info section|content=Section content}}
 
{{info section|content=Section content}}
{{info section|content=Section content}}
+
{{info section|content=Section content|important=1}}
 
|footer=Footer text
 
|footer=Footer text
 
|position=right
 
|position=right
 
}}
 
}}
 
</noinclude>
 
</noinclude>

Revision as of 20:24, 18 February 2022

Description
Usage
{{Info block
|label=    # Any short text. Default: "Did You Know ..." </nowiki>
|content=  # Instances of the [[Template:Info section]]
|footer=   # Any text
|position= # Tab alignment policy [ left|right ]. Default: "left"
 }}


Example (left)
{{Info block
|label=Label
|content=
{{info section|content=Section content}}
{{info section|content=Section content}}
{{info section|content=Section content}}
|footer=Footer text
}}
Result
  • Label

Section content

Section content

Section content


Example (right + important) (see Template:Info section)
{{Info block
|label=Label
|content=
{{info section|content=Section content}}
{{info section|content=Section content}}
{{info section|content=Section content|important=1}}
|footer=Footer text
|position=right
}}
Result
  • Label

Section content

Section content

Section content