i REALLY hope this was clear
 
Plankton (talk | contribs)
templates: Reply
 
(2 intermediate revisions by one other user not shown)
Line 7: Line 7:
*<nowiki><includeonly> - makes text that you write only appear in the template but not when you search it up. To stop the tag from reading any more text and making it only appear in the template, put </includeonly>. Example: <includeonly>Template text</includeonly></nowiki>
*<nowiki><includeonly> - makes text that you write only appear in the template but not when you search it up. To stop the tag from reading any more text and making it only appear in the template, put </includeonly>. Example: <includeonly>Template text</includeonly></nowiki>


*<nowiki>Parameters - these are the things that you type in when you want something to come up, like the reason one in citation needed which adds a reason to the citation needed. To add one, simply type {{{parametername}}} and replace parametername with the name of your parameter. If you want to have parameters without the parameter name actually being needed to be typed, then simply make the parameter name 1, which will look like {{{1}}}.</nowiki> Example: "citation needed {{{reason}}}"<noinclude> The reason parameter in this case is put next to the citation needed part, so to summon it in source editor, if you put {{citation needed|reason=idk you figure out yourself}} then "citation needeed idk you figure out yourself" will come up.</nowiki>
*<nowiki>Parameters - these are the things that you type in when you want something to come up, like the reason one in citation needed which adds a reason to the citation needed. To add one, simply type {{{parametername}}} and replace parametername with the name of your parameter. If you want to have parameters without the parameter name actually being needed to be typed, then simply make the parameter name 1, which will look like {{{1}}}. Example: "citation needed {{{reason}}}"<noinclude> The reason parameter in this case is put next to the citation needed part, so to summon it in source editor, if you put {{citation needed|reason=idk you figure out yourself}} then "citation needeed idk you figure out yourself" will come up.</nowiki>


I really hope this was clear, if you want to learn more then there is some cool stuff about this at [https://www.mediawiki.org mediawiki.org], especially if you go to Help:Extension:ParserFunctions there if you want to get your brain fried like mine did.<sub>which isnt a good thing...</sub> [[User:AnotherConsumerRightsPerson|<i><b>AnotherConsumerRightsPerson</b></i>]] ([[User talk:AnotherConsumerRightsPerson|talk]]) 07:26, 30 October 2025 (UTC)
I really hope this was clear, if you want to learn more then there is some cool stuff about this at [https://www.mediawiki.org mediawiki.org], especially if you go to Help:Extension:ParserFunctions there if you want to get your brain fried like mine did.<sub>which isnt a good thing...</sub> [[User:AnotherConsumerRightsPerson|<i><b>AnotherConsumerRightsPerson</b></i>]] ([[User talk:AnotherConsumerRightsPerson|talk]]) 07:26, 30 October 2025 (UTC)
:Also @[[User:Plankton|Plankton]] if you know HTML tags you already know a lot about how templates work as there are loads of html tags compatible with mediawiki, like <nowiki><span>.</nowiki> [[User:AnotherConsumerRightsPerson|<i><b>AnotherConsumerRightsPerson</b></i>]] ([[User talk:AnotherConsumerRightsPerson|talk]]) 07:53, 30 October 2025 (UTC)
::hi yes, i know html. thank you for the info. i will be messing more with this soon [[User:Plankton|Plankton]] ([[User talk:Plankton|talk]]) 01:22, 31 October 2025 (UTC)