Template:DesktopNotice/doc: Difference between revisions

From Victory Belles Community Wiki
Jump to navigation Jump to search
fandomVB>Sovereign
(Created page with "==Description== To use this template, copy the following code and fill in the appropriate fields. This is a standard desktop-only notice box. ==Syntax== <pre> {{DesktopNotic...")
 
m (4 revisions imported)
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
==Description==
==Description==
To use this template, copy the following code and fill in the appropriate fields.  This is a standard desktop-only notice box.
To use this template, copy the following code and fill in the appropriate fields.  This is an exact copy of [[Template:DataBox]] except it will not show up on mobile devices.
 
An example use case would be a notice encouraging desktop users to add DetailPages to Belles who don't have them yet.


==Syntax==
==Syntax==
Line 29: Line 31:
}}
}}


<noinclude>
[[Category:Template documentation]]
[[Category:Template documentation]]
</noinclude>

Latest revision as of 19:28, 20 March 2023

Description[edit source]

To use this template, copy the following code and fill in the appropriate fields. This is an exact copy of Template:DataBox except it will not show up on mobile devices.

An example use case would be a notice encouraging desktop users to add DetailPages to Belles who don't have them yet.

Syntax[edit source]

{{DesktopNotice
  |image=|middle|75px]]
  |title=Example Title
  |content=Example 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]

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

Results in...

File:Example.jpg

Example Title

Example content