Template:Notify/Doc: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
			
		
		
	
 (Created page with "{{Doc/subpage}} Different types of notifications in one template. Created as a basis for other templates.  == Copy and Paste == {{CodeBlock|<nowiki>{{Notify | mode = inline | size = 10px | img =  | text =  | color =  }}</nowiki>}}  == Parameters and Examples == === Shared === {| class="standard-table" width="100%" ! width="15%" | Parameter ! width="40%" | Description ! Example ! width="30%" | Preview |- | align="center" | {{Code|style=2|{{Param|1}}}} or {{Code|style=2| {...")  | 
			
(No difference) 
 | 
Latest revision as of 02:40, 4 January 2025
| Undocumented Template You can help the Open Fortress Wiki by writing it. Until then, you'll have to read the source to figure out how to use it anyway. Which, I mean, while you're over there already... just saying, you may as well...  | 
Different types of notifications in one template. Created as a basis for other templates.
Copy and Paste
Parameters and Examples
| Parameter | Description | Example | Preview | 
|---|---|---|---|
{{{1}}} or {{{text}}}
 | 
Your text.
 | 
Hello, World!  Hello, World! 
 | |
{{{mode}}}
 | 
Switches the template modes. Avaliable modes: inline.
 | 
Hello, World! 
 | 
Inline mode
| Parameter | Description | Example | Preview | 
|---|---|---|---|
{{{img}}}
 | 
Notification icon. | Hello, World! 
 | |
{{{size}}}
 | 
Notification icon size (Highly recommended to specify since most icons support high DPI.) | File:Important template.pngImportant:Hello, World! 
 | |
{{{type}}}
 | 
Notification type. | File:Important template.pngImportant:Hello, World! 
 | |
{{{color}}}
 | 
Notification color (RGB only). RGBA may also work.  | 
File:Important template.pngImportant:Hello, World! 
 | 
Offset
- File:Important template.pngImportant:Hello, World!
 - File:Important template.pngImportant:Hello, World!
 - File:Important template.pngImportant:Hello, World!
 - File:Important template.pngImportant:Hello, World!
 - File:Important template.pngImportant:Hello, World!
 - File:Important template.pngImportant:Hello, World!
 - File:Important template.pngImportant:Hello, World!
 
Custom styles
- File:Important template.pngImportant:Hello, World!
 - File:Important template.pngImportant:Hello, World!
 - File:Important template.pngImportant:Hello, World!
 - File:Important template.pngImportant:Hello, World!
 - File:Important template.pngImportant:Hello, World!
 - File:Important template.pngImportant:Hello, World!
 - File:Important template.pngImportant:Hello, World!
 - File:Important template.pngImportant:Hello, World!
 - File:Important template.pngImportant:Hello, World!
 - File:Important template.pngImportant:Hello, World!
 - File:Important template.pngImportant:Hello, World!
 - File:Important template.pngImportant:Hello, World!
 - File:Important template.pngImportant:Hello, World!
 - File:Important template.pngImportant:Hello, World!
 - File:Important template.pngImportant:Hello, World!
 - File:Important template.pngImportant:Hello, World!
 
Special Subpages
/inline/doc- Documentation for inline note templates.