Template:Bug: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
imported>Zombie Man
(+Changed coding to remove deprecated 'messagebox' but mostly to create a template that allows a hyperlink as an argument.)
m (Reverted edits by Michiyo (talk) to last revision by Kai Moon)
Tag: Rollback
 
(15 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<div style="margin: 1em 10em 1em 10em; padding: 0.5em; border:1px solid #555555; background-color: #FFEAEA;">
<div role="note" class="messagebox" style="display: flow-root; position: relative; padding: 0 1em 0 77px; width: auto; max-width: 70ch;">
{|
<div style="position: absolute; left: 3px; top: 50%; margin-top: -18px;">[[File:Badge bughunter 01.png|72px|link=|alt=]]</div>
|-
<strong style="color: red;">Bug!</strong> {{{1}}}
| align="center" align="left" width="10%" | [[Image:Badge bughunter 01.png|60px]]
</div><noinclude>
| align="left" width="90%"| <font color = red>'''Bug!'''&nbsp;&nbsp;</font>{{{1}}}
|}</div><noinclude>
==Usage==
==Usage==
  <nowiki>{{Bug|<put bug description here>}}</nowiki>
  <nowiki>{{Bug|<put bug description here>}}</nowiki>
Line 10: Line 8:
This simple template may be used to point out bugs. A message box with a nasty little bug icon will be displayed and the article will automatically be put into [[:Category:Bugs]].
This simple template may be used to point out bugs. A message box with a nasty little bug icon will be displayed and the article will automatically be put into [[:Category:Bugs]].


[[Category:Editors Tags Templates|{{PAGENAME}}]]</noinclude>
[[Category:Templates|{{PAGENAME}}]]</noinclude><includeonly>[[Category:Bugs|{{PAGENAME}}]]</includeonly>
 
<includeonly>[[Category:Bugs|{{PAGENAME}}]]</includeonly>

Latest revision as of 07:24, 11 March 2023

Bug! {{{1}}}

Usage

{{Bug|<put bug description here>}}

This simple template may be used to point out bugs. A message box with a nasty little bug icon will be displayed and the article will automatically be put into Category:Bugs.