mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-12-03 20:46:48 +00:00
4da9a13c45
Bug: T289873 Change-Id: I115a46eb4858dccd6056534d727f88d8513b391b
88 lines
22 KiB
HTML
88 lines
22 KiB
HTML
<!DOCTYPE html>
|
||
<html prefix="dc: http://purl.org/dc/terms/ mw: http://mediawiki.org/rdf/" about="https://en.wikipedia.org/wiki/Special:Redirect/revision/1056728376"><head prefix="mwr: https://en.wikipedia.org/wiki/Special:Redirect/"><meta property="mw:TimeUuid" content="0eb4b3d0-5c2d-11ec-9c1b-3f87c26d69c2"/><meta charset="utf-8"/><meta property="mw:pageId" content="6778728"/><meta property="mw:pageNamespace" content="5"/><link rel="dc:replaces" resource="mwr:revision/1056727459"/><meta property="mw:revisionSHA1" content="cb2dac0636a6ef884b6b07d6449b688bebf8165e"/><meta property="dc:modified" content="2021-11-23T06:13:43.000Z"/><meta property="mw:htmlVersion" content="2.3.0"/><meta property="mw:html:version" content="2.3.0"/><link rel="dc:isVersionOf" href="//en.wikipedia.org/wiki/Wikipedia_talk%3ATemplate_documentation"/><title>Wikipedia talk:Template documentation</title><base href="//en.wikipedia.org/wiki/"/><meta property="mw:styleModules" content="ext.discussionTools.init.styles|ext.inputBox.styles|mediawiki.ui.input|mediawiki.ui.checkbox"/><link rel="stylesheet" href="/w/load.php?lang=en&modules=ext.discussionTools.init.styles%7Cext.inputBox.styles%7Cmediawiki.ui.input%7Cmediawiki.ui.checkbox%7Cmediawiki.skinning.content.parsoid%7Cmediawiki.skinning.interface%7Csite.styles&only=styles&skin=vector"/><meta http-equiv="content-language" content="en"/><meta http-equiv="vary" content="Accept"/></head><body id="mwAA" lang="en" class="mw-content-ltr sitedir-ltr ltr mw-body-content parsoid-body mediawiki mw-parser-output" dir="ltr"><section data-mw-section-id="0" id="mwAQ"><style data-mw-deduplicate="TemplateStyles:r1010367971" typeof="mw:Extension/templatestyles mw:Transclusion" about="#mwt1" data-mw='{"parts":[{"template":{"target":{"wt":"talk header","href":"./Template:Talk_header"},"params":{"archive_age":{"wt":"90"},"archive_bot":{"wt":"lowercase sigmabot III"}},"i":0}}]}' id="mwAg">.mw-parser-output .talkheader{text-align:center}.mw-parser-output .talkheader-body{display:flex}.mw-parser-output .talkheader-help,.mw-parser-output .talkheader-policies,.mw-parser-output .talkheader-shortcuts{display:inline-block;vertical-align:middle;display:flex;align-items:center;padding:0.1em}.mw-parser-output .talkheader-help{flex:2 1 auto;border:1px solid #c0c090;background-color:white}.mw-parser-output .talkheader-policies{flex:1 1 auto}.mw-parser-output .talkheader-policies+.talkheader-policies{border-left:1px solid #c0c090}.mw-parser-output .talkheader-shortcuts{flex:0 1 auto}.mw-parser-output .talkheader-help>*,.mw-parser-output .talkheader-policies>*,.mw-parser-output .talkheader-shortcuts>*{flex:1 1 auto}.mw-parser-output .talkheader-help ul,.mw-parser-output .talkheader-policies ul{margin:0.1em 0.8em 0 1.6em;text-align:left}</style><span about="#mwt1">
|
||
|
||
</span><table role="presentation" class="tmbox tmbox-notice talkheader plainlinks" id="talkheader" style="border-collapse: separate;" about="#mwt1"><tbody><tr>
|
||
<td style="border-bottom: 1px solid #c0c090; font-weight: bold;">This is the <a rel="mw:WikiLink" href="./Wikipedia:Talk_page_guidelines" title="Wikipedia:Talk page guidelines">talk page</a> for discussing improvements to the <a rel="mw:WikiLink" href="./Wikipedia:Template_documentation" title="Wikipedia:Template documentation">Template documentation</a> page.<br/></td>
|
||
</tr>
|
||
<tr>
|
||
<td>
|
||
<div class="talkheader-body">
|
||
<div class="talkheader-help">
|
||
<ul><li>Put new text under old text. <strong><a rel="mw:WikiLink" href="./Special:NewSection/Wikipedia_talk:Template_documentation" title="Special:NewSection/Wikipedia talk:Template documentation">Click here to start a new topic.</a></strong></li>
|
||
<li><a rel="mw:WikiLink" href="./Wikipedia:Signatures" title="Wikipedia:Signatures">Sign your posts</a> by typing four tildes <span class="nowrap">(<code>~~~~</code>)</span>.</li>
|
||
<li>New to Wikipedia? Welcome! <a rel="mw:WikiLink" href="./Help:Introduction" title="Help:Introduction">Learn to edit</a>; <a rel="mw:WikiLink" href="./Wikipedia:Questions" title="Wikipedia:Questions">get help</a>.</li></ul>
|
||
</div>
|
||
<div class="talkheader-policies">
|
||
<ul><li><a rel="mw:WikiLink" href="./Wikipedia:Assume_good_faith" title="Wikipedia:Assume good faith">Assume good faith</a></li>
|
||
<li><a rel="mw:WikiLink" href="./Wikipedia:Civility" title="Wikipedia:Civility">Be polite</a> and <a rel="mw:WikiLink" href="./Wikipedia:No_personal_attacks" title="Wikipedia:No personal attacks">avoid personal attacks</a></li>
|
||
<li><a rel="mw:WikiLink" href="./Wikipedia:Please_do_not_bite_the_newcomers" title="Wikipedia:Please do not bite the newcomers">Be welcoming to newcomers</a></li>
|
||
<li>Seek <a rel="mw:WikiLink" href="./Wikipedia:Dispute_resolution_requests" title="Wikipedia:Dispute resolution requests">dispute resolution</a> if needed</li></ul>
|
||
</div>
|
||
</div>
|
||
</td>
|
||
</tr><tr><td style="border-top: 1px solid #c0c090; padding: 1px 3px;"><b><a rel="mw:WikiLink" href="./Help:Archiving_a_talk_page" title="Help:Archiving a talk page">Archives</a>:</b> <a rel="mw:WikiLink" href="./Wikipedia_talk:Template_documentation/Archive_1" title="Wikipedia talk:Template documentation/Archive 1">1</a>, <a rel="mw:WikiLink" href="./Wikipedia_talk:Template_documentation/Archive_2" title="Wikipedia talk:Template documentation/Archive 2">2</a><span style="position: relative; top: 2px; float: right; font-size: 90%;"><style data-mw-deduplicate="TemplateStyles:r1038841319" typeof="mw:Extension/templatestyles" about="#mwt8" data-mw='{"name":"templatestyles","attrs":{"src":"Template:Tooltip/styles.css"}}'>.mw-parser-output .tooltip-dotted{border-bottom:1px dotted;cursor:help}</style><span title="Discussions with timestamps are automatically archived by lowercase sigmabot III after 90 days of inactivity." class="rt-commentedText tooltip tooltip-dotted " about="#mwt10" typeof="mw:ExpandedAttrs" data-mw='{"attribs":[[{"txt":"title"},{"html":"<span typeof=\"mw:Nowiki\" data-parsoid=\"{}\">Discussions with timestamps are automatically archived by lowercase sigmabot III after 90<span typeof=\"mw:Entity\" data-parsoid='{\"src\":\"&amp;nbsp;\",\"srcContent\":\" \"}'> </span>days of inactivity.</span>"}]]}'>Auto-archiving period</span>: <b>90<span typeof="mw:Entity"> </span>days</b><span typeof="mw:Entity"> </span><span typeof="mw:Image"><a href="./Help:Archiving_a_talk_page#Automated_archiving"><img alt="" resource="./File:Information_icon4.svg" src="//upload.wikimedia.org/wikipedia/en/thumb/1/1d/Information_icon4.svg/16px-Information_icon4.svg.png" decoding="async" data-file-width="620" data-file-height="620" data-file-type="drawing" height="16" width="16" srcset="//upload.wikimedia.org/wikipedia/en/thumb/1/1d/Information_icon4.svg/24px-Information_icon4.svg.png 1.5x, //upload.wikimedia.org/wikipedia/en/thumb/1/1d/Information_icon4.svg/32px-Information_icon4.svg.png 2x"/></a></span></span></td>
|
||
</tr><tr><td style="border-top: 1px solid #c0c090; padding: 0;"><div>
|
||
<div class="mw-inputbox-centered" style="" typeof="mw:Extension/inputbox" about="#mwt9" data-mw='{"name":"inputbox","attrs":{},"body":{"extsrc":"\nbgcolor=transparent\ntype=fulltext\nprefix=Wikipedia talk:Template documentation/\nbreak=no\n\nsearchbuttonlabel=Search archives\n"}}'><form name="searchbox" class="searchbox" action="/wiki/Special:Search"><input class="mw-searchInput searchboxInput mw-ui-input mw-ui-input-inline" name="search" placeholder="" size="50" dir="ltr"/><input type="hidden" value="Wikipedia talk:Template documentation/" name="prefix"/> <input type="submit" name="fulltext" class="mw-ui-button" value="Search archives"/><input type="hidden" value="Search" name="fulltext"/></form></div>
|
||
</div></td>
|
||
</tr>
|
||
</tbody></table>
|
||
<table class="tmbox tmbox-notice mw-collapsible innercollapse wpb active-wikiproject" style="height:0;" about="#mwt11" typeof="mw:Transclusion" data-mw='{"parts":[{"template":{"target":{"wt":"WikiProject Help","href":"./Template:WikiProject_Help"},"params":{"class":{"wt":"NA"},"1":{"wt":""},"importance":{"wt":"high"}},"i":0}}]}' id="mwAw">
|
||
<tbody><tr class="wpb-header">
|
||
<td style="text-align:right; padding:0.3em 1em 0.3em 0.3em; width:50%; font-weight:bold;"><a rel="mw:WikiLink" href="./Wikipedia:Help_Project" title="Wikipedia:Help Project">Wikipedia Help Project</a> </td>
|
||
<th style="text-align:left; width:50%; padding:0.3em;">(Rated NA-class, High-importance)
|
||
</th>
|
||
</tr>
|
||
<tr>
|
||
<td class="mbox-text" style="padding:3px 0 3px 5px;" colspan="2">
|
||
<link rel="mw:PageProp/Category" href="./Category:NA-Class_Help_articles"/><link rel="mw:PageProp/Category" href="./Category:High-importance_Help_articles"/><table style="background:transparent; border:none; padding:0; width:100%; border-spacing:0;">
|
||
<tbody><tr>
|
||
<td class="mbox-image" style="padding:2px 0;"><span typeof="mw:Image"><a href="./File:Question_book_magnify2.svg"><img alt="WikiProject icon" resource="./File:Question_book_magnify2.svg" src="//upload.wikimedia.org/wikipedia/commons/thumb/a/ab/Question_book_magnify2.svg/50px-Question_book_magnify2.svg.png" decoding="async" data-file-width="60" data-file-height="60" data-file-type="drawing" height="50" width="50" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/a/ab/Question_book_magnify2.svg/75px-Question_book_magnify2.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/a/ab/Question_book_magnify2.svg/100px-Question_book_magnify2.svg.png 2x"/></a></span></td><td class="mbox-text">This page is within the scope of the <b><a rel="mw:WikiLink" href="./Wikipedia:Help_Project" title="Wikipedia:Help Project">Wikipedia Help Project</a></b>, a collaborative effort to improve Wikipedia's help documentation for readers and contributors. If you would like to participate, please visit <a rel="mw:WikiLink" href="./Wikipedia:Help_Project" title="Wikipedia:Help Project">the project page</a>, where you can join the <a rel="mw:WikiLink" href="./Wikipedia_talk:Help_Project" title="Wikipedia talk:Help Project">discussion</a> and see a list of open tasks. To browse help related resources see the <a rel="mw:WikiLink" href="./Help:Menu" title="Help:Menu">Help Menu</a> or <a rel="mw:WikiLink" href="./Help:Contents" title="Help:Contents">Help Directory</a>. Or <span class="noprint plainlinks" title="Edit Special:MyTalk"><a rel="mw:ExtLink" href="//en.wikipedia.org/w/index.php?title=Special:MyTalk&action=edit&section=new&preload=Help:Contents/helpmepreload&preloadtitle=Help+me%21" class="external text"><b>ask for help on your talk page</b></a></span> and a volunteer will visit you there.<span class="metadata" style="display:none; speak:none;"><span class="wpb-project">Help</span><span class="wpb-project_link">Wikipedia:Help Project</span><span class="wpb-banner_name">Template:Wikipedia Help Project</span><span class="wpb-assessment_cat">Help articles</span></span></td><td class="mbox-empty-cell"></td></tr><tr>
|
||
<td class="assess assess-na " style="
|
||
text-align:center;
|
||
white-space:nowrap;
|
||
font-weight:bold;
|
||
background:
|
||
#F5F5F5;
|
||
" rowspan="1" about="#mwt14" typeof="mw:ExpandedAttrs" data-mw='{"attribs":[[{"txt":"style"},{"html":"\n text-align:center;\n white-space:nowrap;\n font-weight:bold;\n background:<span typeof=\"mw:Nowiki\" data-parsoid=\"{}\">\n#F5F5F5</span>;\n "}]]}'><span style="display:none;" title="Non-article Page"><span typeof="mw:Image" data-mw='{"caption":" Non-article page "}'><a href="./File:Symbol_na_class.svg"><img resource="./File:Symbol_na_class.svg" src="//upload.wikimedia.org/wikipedia/en/thumb/6/6a/Symbol_na_class.svg/16px-Symbol_na_class.svg.png" decoding="async" data-file-width="180" data-file-height="185" data-file-type="drawing" height="16" width="16" srcset="//upload.wikimedia.org/wikipedia/en/thumb/6/6a/Symbol_na_class.svg/24px-Symbol_na_class.svg.png 1.5x, //upload.wikimedia.org/wikipedia/en/thumb/6/6a/Symbol_na_class.svg/32px-Symbol_na_class.svg.png 2x"/></a></span></span><span typeof="mw:Entity"> </span><a rel="mw:WikiLink" href="./Category:NA-Class_Help_articles" title="Category:NA-Class Help articles">NA</a><span typeof="mw:Entity"> </span></td>
|
||
<td class="mbox-text" colspan="2">This page does not require a rating on the project's <a rel="mw:WikiLink" href="./Wikipedia:Help_Project/Assessment#Quality_scale" title="Wikipedia:Help Project/Assessment">quality scale</a>.</td>
|
||
</tr><tr>
|
||
<td class="import import-high " style="
|
||
text-align:center;
|
||
white-space:nowrap;
|
||
font-weight:bold;
|
||
background:
|
||
#ffacff;
|
||
" about="#mwt15" typeof="mw:ExpandedAttrs" data-mw='{"attribs":[[{"txt":"style"},{"html":"\n text-align:center;\n white-space:nowrap;\n font-weight:bold;\n background:<span typeof=\"mw:Nowiki\" data-parsoid=\"{}\">\n#ffacff</span>;\n "}]]}'><span typeof="mw:Entity"> </span><a rel="mw:WikiLink" href="./Category:High-importance_Help_articles" title="Category:High-importance Help articles">High</a><span typeof="mw:Entity"> </span></td>
|
||
<td class="mbox-text" colspan="2">This page has been rated as <b>High-importance</b> on the project's <a rel="mw:WikiLink" href="./Wikipedia:Help_Project/Assessment#Importance_scale" title="Wikipedia:Help Project/Assessment">importance scale</a>.</td>
|
||
</tr>
|
||
<tr><td class="mbox-image" style="padding:2px 0 0 0; min-width:50px;">
|
||
<span style="display:none;"><span typeof="mw:Entity"> </span></span></td><td></td><td></td>
|
||
</tr></tbody></table></td>
|
||
</tr></tbody></table><link rel="mw:PageProp/Category" href="./Category:Wikipedia_Help_Project_pages" about="#mwt11" id="mwBA"/>
|
||
<p class="mw-empty-elt" id="mwBQ"><span typeof="mw:Nowiki mw:Transclusion" about="#mwt16" data-mw='{"parts":[{"template":{"target":{"wt":"User:MiszaBot/config\n","href":"./User:MiszaBot/config"},"params":{"algo":{"wt":"old(90d)"},"archive":{"wt":"Wikipedia talk:Template documentation/Archive %(counter)d"},"counter":{"wt":"2"},"maxarchivesize":{"wt":"150K"},"archiveheader":{"wt":"{{Automatic archive navigator}}"},"minthreadstoarchive":{"wt":"1"},"minthreadsleft":{"wt":"4"}},"i":0}}]}' id="mwBg"></span></p>
|
||
|
||
</section><section data-mw-section-id="1" id="mwBw"><h2 id="Wikipedia:TemplateData">Wikipedia:TemplateData</h2>
|
||
|
||
<p id="mwCA">Nowadays, TemplateData is included in all the templates and it is a good procedure filling its parameters in the documentation, so it would be good including a link to <a rel="mw:WikiLink" href="./Wikipedia:TemplateData/Tutorial" title="Wikipedia:TemplateData/Tutorial" id="mwCQ">Wikipedia:TemplateData/Tutorial</a> in the lead section. --<a rel="mw:WikiLink" href="./User:BoldLuis" title="User:BoldLuis" id="mwCg">BoldLuis</a> (<a rel="mw:WikiLink" href="./User_talk:BoldLuis" title="User talk:BoldLuis" id="mwCw">talk</a>) 10:09, 3 May 2020 (UTC)</p>
|
||
|
||
</section><section data-mw-section-id="2" id="mwDA"><h2 id="documentation_automatically_included_in_all_templates">documentation automatically included in all templates</h2>
|
||
|
||
<p id="mwDQ"><span typeof="mw:Transclusion mw:Entity" about="#mwt18" data-mw='{"parts":[{"template":{"target":{"wt":"tl","href":"./Template:Tl"},"params":{"1":{"wt":"documentation"}},"i":0}}]}' id="mwDg">{</span><span typeof="mw:Entity" about="#mwt18">{</span><a rel="mw:WikiLink" href="./Template:Documentation" title="Template:Documentation" about="#mwt18">documentation</a><span typeof="mw:Entity" about="#mwt18">}</span><span typeof="mw:Entity" about="#mwt18">}</span> would be included by default in all the templates, excepting when <span typeof="mw:Transclusion mw:Entity" about="#mwt19" data-mw='{"parts":[{"template":{"target":{"wt":"tl","href":"./Template:Tl"},"params":{"1":{"wt":"noincdoc"}},"i":0}}]}' id="mwDw">{</span><span typeof="mw:Entity" about="#mwt19">{</span><a rel="mw:WikiLink" href="./Template:Noincdoc" title="Template:Noincdoc" about="#mwt19" class="new">noincdoc</a><span typeof="mw:Entity" about="#mwt19">}</span><span typeof="mw:Entity" about="#mwt19">}</span> (or similar code) is used (I think there is no reason to exclude documentation in templates anyway).</p>
|
||
|
||
<p id="mwEA">The same for the TemplateData content, including its template detected parameters, when the documentation page is automatically created (just after template creation). --<a rel="mw:WikiLink" href="./User:BoldLuis" title="User:BoldLuis" id="mwEQ">BoldLuis</a> (<a rel="mw:WikiLink" href="./User_talk:BoldLuis" title="User talk:BoldLuis" id="mwEg">talk</a>) 11:08, 3 May 2020 (UTC)</p>
|
||
|
||
</section><section data-mw-section-id="3" id="mwEw"><h2 id="Notice_of_new_template_{{Param_value}}_for_assistance_in_template_doc_pages"><span id="Notice_of_new_template_.7B.7BParam_value.7D.7D_for_assistance_in_template_doc_pages" typeof="mw:FallbackId"></span>Notice of new template <span typeof="mw:Transclusion mw:Entity" about="#mwt20" data-mw='{"parts":[{"template":{"target":{"wt":"tl","href":"./Template:Tl"},"params":{"1":{"wt":"Param value"}},"i":0}}]}' id="mwFA">{</span><span typeof="mw:Entity" about="#mwt20">{</span><a rel="mw:WikiLink" href="./Template:Param_value" title="Template:Param value" about="#mwt20">Param value</a><span typeof="mw:Entity" about="#mwt20">}</span><span typeof="mw:Entity" about="#mwt20">}</span> for assistance in template doc pages</h2>
|
||
|
||
<p id="mwFQ">I had a need for a way to highlight param values on template doc pages, which could not easily be achieved by use of the <span typeof="mw:Entity" id="mwFg"><</span>code> tag, which I had been using previously. The use case was the documentation for <span typeof="mw:Transclusion mw:Entity" about="#mwt21" data-mw='{"parts":[{"template":{"target":{"wt":"tl","href":"./Template:Tl"},"params":{"1":{"wt":"Lorem ipsum"}},"i":0}}]}' id="mwFw">{</span><span typeof="mw:Entity" about="#mwt21">{</span><a rel="mw:WikiLink" href="./Template:Lorem_ipsum" title="Template:Lorem ipsum" about="#mwt21">Lorem ipsum</a><span typeof="mw:Entity" about="#mwt21">}</span><span typeof="mw:Entity" about="#mwt21">}</span>, which has some parameters whose values may contain leading and trailing blanks; needless to say, it's particularly hard to see those. An example is: <code style="border:thin solid #caa;background-color:white;padding:1px 2px 0 1px;margin:0 2px 0 1px;white-space:nowrap;" about="#mwt22" typeof="mw:Transclusion" data-mw='{"parts":[{"template":{"target":{"wt":"param value","href":"./Template:Param_value"},"params":{"1":{"wt":" * \" "}},"i":0}}]}' id="mwGA"><span typeof="mw:Entity"> </span><span typeof="mw:Entity">*</span><span typeof="mw:Entity"> </span>"<span typeof="mw:Entity"> </span></code>. The new template <span typeof="mw:Transclusion mw:Entity" about="#mwt23" data-mw='{"parts":[{"template":{"target":{"wt":"tl","href":"./Template:Tl"},"params":{"1":{"wt":"param value"}},"i":0}}]}' id="mwGQ">{</span><span typeof="mw:Entity" about="#mwt23">{</span><a rel="mw:WikiLink" href="./Template:Param_value" title="Template:Param value" about="#mwt23">param value</a><span typeof="mw:Entity" about="#mwt23">}</span><span typeof="mw:Entity" about="#mwt23">}</span> was my attempted solution for this problem. You can see some examples of it in use at <a rel="mw:WikiLink" href="./Template:Lorem_ipsum#Prefix_and_suffix_whitespace" title="Template:Lorem ipsum" id="mwGg">Template:Lorem ipsum#Prefix and suffix whitespace</a>. <a rel="mw:WikiLink" href="./User:Mathglot" title="User:Mathglot" id="mwGw">Mathglot</a> (<a rel="mw:WikiLink" href="./User_talk:Mathglot" title="User talk:Mathglot" id="mwHA">talk</a>) 10:32, 8 August 2021 (UTC)</p>
|
||
|
||
</section><section data-mw-section-id="4" id="mwHQ"><h2 id="Including_TemplateData">Including TemplateData</h2>
|
||
|
||
<p id="mwHg">This page doesn't say where or how to put the TemplateData, even though <a rel="mw:WikiLink" href="./Template:Infobox_person#TemplateData" title="Template:Infobox person" id="mwHw">many</a> <a rel="mw:WikiLink" href="./Template:Cite_web#TemplateData" title="Template:Cite web" id="mwIA">many</a> templates use a standard format (seen below). I suggest this page include it in the <a rel="mw:WikiLink" href="./Wikipedia:Template_documentation#Manual_creation" title="Wikipedia:Template documentation" id="mwIQ">#Manual creation</a> section, and in the prefilled creation link provided by <span typeof="mw:Transclusion mw:Entity" about="#mwt24" data-mw='{"parts":[{"template":{"target":{"wt":"tl","href":"./Template:Tl"},"params":{"1":{"wt":"documentation"}},"i":0}}]}' id="mwIg">{</span><span typeof="mw:Entity" about="#mwt24">{</span><a rel="mw:WikiLink" href="./Template:Documentation" title="Template:Documentation" about="#mwt24">documentation</a><span typeof="mw:Entity" about="#mwt24">}</span><span typeof="mw:Entity" about="#mwt24">}</span>, and putting it at the very bottom of the documentation subpage. There was also a <a rel="mw:WikiLink" href="./Template_talk:Documentation/Archive_8#Integrating_TemplateData" title="Template talk:Documentation/Archive 8" id="mwIw">discussion</a> nearly 8 years ago on what a standard should be, for those curious. Adding the templatedata section can remind and encourage editors to add it for use in the VisualEditor. Agree? Disagree? Thoughts?</p>
|
||
|
||
<pre typeof="mw:Extension/pre" about="#mwt27" data-mw='{"name":"pre","attrs":{},"body":{"extsrc":"<nowiki>== TemplateData ==\n{{TemplateData header}}\n\n<templatedata>\n ...\n</templatedata></nowiki>"}}' id="mwJA">== TemplateData ==
|
||
{{TemplateData header}}
|
||
|
||
<templatedata>
|
||
...
|
||
</templatedata></pre> <p about="#mwt28" typeof="mw:Transclusion" data-mw='{"parts":["[[User:SWinxy|SWinxy]] ([[User talk:SWinxy|talk]]) 06:02, 23 November 2021 (UTC)\n",{"template":{"target":{"wt":"block indent","href":"./Template:Block_indent"},"params":{"em":{"wt":"1.6"},"1":{"wt":"<small>Notified: [[Template talk:Documentation]]. [[User:SWinxy|SWinxy]] ([[User talk:SWinxy|talk]]) 06:13, 23 November 2021 (UTC)</small>"}},"i":0}}]}' id="mwJQ"><a rel="mw:WikiLink" href="./User:SWinxy" title="User:SWinxy">SWinxy</a> (<a rel="mw:WikiLink" href="./User_talk:SWinxy" title="User talk:SWinxy">talk</a>) 06:02, 23 November 2021 (UTC)
|
||
<style data-mw-deduplicate="TemplateStyles:r996643573" typeof="mw:Extension/templatestyles" about="#mwt30" data-mw='{"name":"templatestyles","attrs":{"src":"Block indent/styles.css"}}'>.mw-parser-output .block-indent{padding-left:3em;padding-right:0;overflow:hidden}</style></p><div class="block-indent " style="padding-left: 1.6em;" about="#mwt28" id="mwJg"><small>Notified: <a rel="mw:WikiLink" href="./Template_talk:Documentation" title="Template talk:Documentation">Template talk:Documentation</a>. <a rel="mw:WikiLink" href="./User:SWinxy" title="User:SWinxy">SWinxy</a> (<a rel="mw:WikiLink" href="./User_talk:SWinxy" title="User talk:SWinxy">talk</a>) 06:13, 23 November 2021 (UTC)</small></div><!-- Template:Notified --></section></body></html> |