×
Create a new article
Write your page title here:
We currently have 23 articles on Tophiachu Wiki. Type your article name above or click on one of the titles below and start writing!



Tophiachu Wiki
23Articles

Template:Notice: Difference between revisions

fandom>Lunaisreal312313
No edit summary
m (please don't break shit i beg)
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<mediawiki xmlns="http://www.mediawiki.org/xml/export-0.11/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.mediawiki.org/xml/export-0.11/ http://www.mediawiki.org/xml/export-0.11.xsd" version="0.11" xml:lang="en">
{{Mbox
<siteinfo>
| text=       {{{title|Notice:}}}  
<sitename>Templates Wiki</sitename>
----
<dbname>templates</dbname>
{{{notice|nil}}}
<base>https://templates.fandom.com/wiki/Templates_Wiki</base>
| image=       {{{image|[[File:!!!.png|50px]]}}}
<generator>MediaWiki 1.39.5</generator>
| border=     {{{border}}}
<case>first-letter</case>
| background= {{{background}}}
<namespaces>
}}
<namespace key="-2" case="first-letter">Media</namespace>
<noinclude>
<namespace key="-1" case="first-letter">Special</namespace>
<templatedata>
<namespace key="0" case="first-letter"/>
{
<namespace key="1" case="first-letter">Talk</namespace>
"params": {
<namespace key="2" case="first-letter">User</namespace>
"title": {
<namespace key="3" case="first-letter">User talk</namespace>
"required": true
<namespace key="4" case="first-letter">Templates Wiki</namespace>
},
<namespace key="5" case="first-letter">Templates Wiki talk</namespace>
"notice": {
<namespace key="6" case="first-letter">File</namespace>
"suggested": true
<namespace key="7" case="first-letter">File talk</namespace>
},
<namespace key="8" case="first-letter">MediaWiki</namespace>
"image": {
<namespace key="9" case="first-letter">MediaWiki talk</namespace>
"default": "!!!.png"
<namespace key="10" case="first-letter">Template</namespace>
},
<namespace key="11" case="first-letter">Template talk</namespace>
"border": {
<namespace key="12" case="first-letter">Help</namespace>
"deprecated": "Don't use this."
<namespace key="13" case="first-letter">Help talk</namespace>
},
<namespace key="14" case="first-letter">Category</namespace>
"background": {
<namespace key="15" case="first-letter">Category talk</namespace>
"deprecated": "Don't use this."
<namespace key="110" case="first-letter">Forum</namespace>
}
<namespace key="111" case="first-letter">Forum talk</namespace>
}
<namespace key="420" case="first-letter">GeoJson</namespace>
}
<namespace key="421" case="first-letter">GeoJson talk</namespace>
</templatedata>
<namespace key="500" case="first-letter">User blog</namespace>
</noinclude>
<namespace key="501" case="first-letter">User blog comment</namespace>
<namespace key="502" case="first-letter">Blog</namespace>
<namespace key="503" case="first-letter">Blog talk</namespace>
<namespace key="828" case="first-letter">Module</namespace>
<namespace key="829" case="first-letter">Module talk</namespace>
<namespace key="1200" case="first-letter">Message Wall</namespace>
<namespace key="1201" case="first-letter">Thread</namespace>
<namespace key="1202" case="first-letter">Message Wall Greeting</namespace>
<namespace key="2300" case="case-sensitive">Gadget</namespace>
<namespace key="2301" case="case-sensitive">Gadget talk</namespace>
<namespace key="2302" case="case-sensitive">Gadget definition</namespace>
<namespace key="2303" case="case-sensitive">Gadget definition talk</namespace>
<namespace key="2900" case="first-letter">Map</namespace>
<namespace key="2901" case="first-letter">Map talk</namespace>
</namespaces>
</siteinfo>
<page>
<title>Template:Notice</title>
<ns>10</ns>
<id>2733</id>
<revision>
<id>29057</id>
<parentid>28887</parentid>
<timestamp>2023-06-04T21:11:11Z</timestamp>
<contributor>
<username>Celdrøn</username>
<id>3999290</id>
</contributor>
<minor/>
<comment>ILL: +fr.</comment>
<origin>29057</origin>
<model>wikitext</model>
<format>text/x-wiki</format>
<text bytes="987" sha1="ppsdt5vdz4lijlceheeago1q25pxlzf" xml:space="preserve"><div id="{{{id|}}}" class="article-table {{{class|}}}" style="display: grid; grid-template-columns: auto 1fr; grid-gap: 16px; font-size: 16px; line-height: 160%; width: 100%; padding: 8px 16px; margin-bottom: 4px; box-sizing: border-box; background: #7b7b7b3b; {{{style|}}};"> <div style="text-align: center;">{{{image|<span style="font-size:32px;">ℹ️️</span>}}}</div><div>'''{{{type|Header}}}'''<div style="margin-top: 8px; height: 4px; width: 200px; background: {{#switch:{{{border|}}} | red = #fa005a | orange = #ff7f26 | yellow = #ffc500 | purple = #520044 | blue = #86d7dc | green = #94d11f | gray = #838d86 | #default = #838d86 }};"></div><div style="font-size: 12px; margin-top: 8px;">{{{info|{{{text|Notice text}}}}}}</div> </div> </div><includeonly>{{#if:{{{doc|}}}|| {{#if:{{{cat|}}}|[[Category:{{{cat}}}]]}} }}</includeonly><noinclude> {{Documentation|fr=Modèle:Notice|ja=テンプレート:Notice|tr=Şablon:Uyarı}} </noinclude></text>
<sha1>ppsdt5vdz4lijlceheeago1q25pxlzf</sha1>
</revision>
</page>
<page>
<title>Template:Notice/doc</title>
<ns>10</ns>
<id>2735</id>
<revision>
<id>29119</id>
<parentid>29058</parentid>
<timestamp>2023-06-15T19:10:10Z</timestamp>
<contributor>
<username>EEBOIEE</username>
<id>51224914</id>
</contributor>
<comment>/* Notice borders */</comment>
<origin>29119</origin>
<model>wikitext</model>
<format>text/x-wiki</format>
<text bytes="3156" sha1="qvr22xmo1mjn1lyyl6vcp002qyrjwuj" xml:space="preserve"><noinclude>{{Documentation subpage}}</noinclude> == Description == This template is used as a base for notice templates. == Usage == Type {{tlx|Notice|2=parameter=value|3=...}} on a page. This template can be used standalone, or as a base for other notice templates. '''Note:''' This template does '''not''' show up on mobile. === Syntax === <pre> {{Notice |image = |border = |style = |type = |info = |id = }} </pre> == Parameters == ; Id (<code>id</code>) : Custom HTML Id, used for styling in CSS. ; Image (<code>image</code>) : A custom image added at the left side. See [[Help:Adding images]] for additional information. (default: ℹ️) ; Header (<code>type</code>) : The main header for the notice template. Shows up in bold. (default: Header) ; Border color (<code>border</code>) : The color of the separator between the Header and the body text. Has several types (type in lowercase): :* Red :* Orange :* Yellow :* Green :* Blue :* Purple :* Grey (Default) ; Text (<code>info</code>) : The main text of the template. (default: Notice text) ; CSS Style (<code>style</code>) : Custom CSS styles for the base template container. == Notice borders == {| class="wikitable" |+ The table borders are shown below. ! Code ! Result |- | {{tlx|Notice|2=border=red}} | {{Notice|border=red}} |- | {{tlx|Notice|2=border=orange}} | {{Notice|border=orange}} |- | {{tlx|Notice|2=border=yellow}} | {{Notice|border=yellow}} |- | {{tlx|Notice|2=border=green}} | {{Notice|border=green}} |- | {{tlx|Notice|2=border=blue}} | {{Notice|border=blue}} |- | {{tlx|Notice|2=border=grey}} | {{Notice|border=grey}} |- | {{tlx|Notice}} (Default: Grey) | {{Notice}} |} == Examples == {| class="wikitable" |- ! Code ! Result |- | {{tlx|Notice|2=type=Header text|style=code}} | {{Notice|type=Header text}} |- | {{tlx|Notice|2=type=Header text here|3=info=Body text here|style=code}} | {{Notice|type=Header text here|info=Body text here}} |- | {{tlx|Notice|2=type=Header text here|3=info=Body text here|4=border=red|style=code}} | {{Notice|type=Header text here|info=Body text here|border=red}} |- | {{tlx|Notice|2=type=Header text here|3=info=Body text here|4=border=yellow|5=image=[<nowiki/>[File:Site-logo.png<nowiki>|</nowiki>40px]]|style=code|block=1}} | {{Notice|type=Header text here|info=Body text here|border=yellow|image=[[File:Site-logo.png|40px]]}} |- | {{tlx|Notice|2=type=Header text here|3=info=Body text here|4=border=green|5=image=[<nowiki/>[File:Site-logo.png<nowiki>|</nowiki>40px]]|6=style=box-shadow: 5px 10px 8px #888888; border:1px solid #888;|style=code|block=1}} | {{Notice|type=Header text here|info=Body text here|border=green|image=[[File:Site-logo.png|40px]]|style=box-shadow: 5px 10px 8px #888888; border:1px solid #888;}} |} == See also == * {{tlx|Notice/small}}, the notice template without the heading parameter, and is more suitable for small messages. * {{t|Mbox}} <includeonly> <!-- Categories and interwikis below this line, please --> [[fr:Modèle:Notice]] [[Category:Help templates]] [[Category:Notice templates]] </includeonly><noinclude> <!-- Categories and interwikis of the /doc subpage --> [[fr:Modèle:Notice/doc]] </noinclude></text>
<sha1>qvr22xmo1mjn1lyyl6vcp002qyrjwuj</sha1>
</revision>
</page>
</mediawiki>
 
This is used for notices.
<!--source comes from the template wiki at https://templates.fandom.com/wiki/Template:Notice check them out for the documentation. -->

Latest revision as of 03:19, 8 September 2024

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
titletitle

no description

Unknownrequired
noticenotice

no description

Unknownsuggested
imageimage

no description

Default
!!!.png
Unknownoptional
borderborder

no description

Unknowndeprecated
backgroundbackground

no description

Unknowndeprecated