Template:DataBox/doc: Difference between revisions

From Victory Belles Community Wiki
Jump to navigation Jump to search
fandomVB>Sovereign
No edit summary
fandomVB>Sovereign
Line 6: Line 6:
{{DataBox
{{DataBox
   |image=|middle|75px]]
   |image=|middle|75px]]
   |title=Example Title
   |title=
   |content=Example content
   |content=
}}
}}
</pre>
</pre>

Revision as of 16:30, 10 October 2021

Description[edit source]

To use this template, copy the following code and fill in the appropriate fields. The reason this exists is to enable a notice-style box which will show up on mobile devices, such as for Template:DetailsPageBox. "Notice"-class templates are automatically hidden by Fandom's mobile skin.

Syntax[edit source]

{{DataBox
  |image=|middle|75px]]
  |title=
  |content=
}}

Note that the actual link to the image must be placed between the "=" after image and the "|" before middle in order to show up and retain expected formatting.

Samples[edit source]

{{DataBox
  |image=[[File:Example.jpg|middle|75px]]
  |title=Example Title
  |content=Example content
}}

Results in...

File:Example.jpg

Example Title

Example content