Template:Note: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
| mwnote>Shirayuki  (translation tweaks) | mwnote>Shirayuki   (per request Special:Diff/3039412) | ||
| Line 2: | Line 2: | ||
| <onlyinclude>{{#switch:<translate></translate> | <onlyinclude>{{#switch:<translate></translate> | ||
| | = | | = | ||
| {{#if: {{#if:{{{1|}}}|{{{1}}}|{{#if:<noinclude>demo</noinclude>|demo|{{{demo|}}}}} }} | <div role="note" class="note note-{{#switch:{{{2|}}} | {{#if: {{#if:{{{1|}}}|{{{1}}}|{{#if:<noinclude>demo</noinclude>|demo|{{{demo|}}}}} }} | <templatestyles src="Note/styles.css" /><div role="note" class="note note-{{#switch:{{{2|}}} | ||
|      |gotcha=error |      |gotcha=error | ||
|      |=info |      |=info | ||
|      |#default={{{2|}}} |      |#default={{{2|}}} | ||
|      }} {{#if:{{{inline|}}}|note-inline}}">{{{1}}}</div> | |||
|    | [[File:Bulbgraph.png|18px|<translate><!--T:1--> Note</translate>|link=]] '''<translate><!--T:2--> Note:</translate>''' }} |    | [[File:Bulbgraph.png|18px|<translate><!--T:1--> Note</translate>|link=]] '''<translate><!--T:2--> Note:</translate>''' }} | ||
| | #default= | | #default= | ||
| Line 48: | Line 48: | ||
| 			"label": "Type", | 			"label": "Type", | ||
| 			"description": "'reminder', 'error', 'gotcha' or nothing. Will affect formatting.", | 			"description": "'reminder', 'error', 'gotcha' or nothing. Will affect formatting.", | ||
| 			"type": " | 			"type": "line" | ||
| 		}, | |||
| 		"inline": { | |||
| 			"label": "Inline formatting", | |||
| 			"description": "Show the template without line breaks before and after it", | |||
| 			"type": "line" | |||
| 		} | 		} | ||
| 	}, | 	}, | ||
Revision as of 23:55, 4 January 2019
<languages/> Note Note: Lua error: Module:TNT:158: Missing JsonConfig extension, or not properly configured; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Documentation.tab. See https://www.mediawiki.org/wiki/Extension:JsonConfig#Supporting_Wikimedia_templates.[[Category:Template documentation pages{{#translation:}}]] [[Category:Templates{{#translation:}}|Note]]