위키백과:FAQ/틀: 두 판 사이의 차이

편집 요약 없음
편집 요약 없음
편집 요약 없음
 
== 틀이란 무엇인가요? ==
틀을 사용하여 편집자가 기능을 구현할수 있습니다. 구현시 틀:이름공간에 국한되지 않습니다. When문서 you원본 examine코드를 article source code살펴보면, you can recognize them by이중 double중괄호로 curly인식할수 brackets있습니다. They can take parameters, both positional and named, and there are predefined keywords that are usually in capital letters.
 
If you have some boilerplate text that you want to include in a lot of places, you might do well to make a template out of it. There are many existing templates that do useful and cool things, if you know how to use them. In the template and their corresponding pages, they are currently poorly documented, but there are few templates that are very '''complicated'''.........
 
== 토막글 틀 ==
다양한 토막글 틀이 있습니다. There토막글 is틀은 some해당 variety분류와 in어떻게 style관련되는지의 in방식으로 how여러가지가 a stub template relates to its corresponding category있습니다. 사용법 Commonalities in usage and style지침의 guidelines공통점이 are나타나고 emerging있습니다.
 
== 틀의 이름을 변경하거나, 넘겨주기 처리를 할 수 있나요? ==
 
== 그 외에 틀이 쓰이는 용도로 무엇이 있나요? ==
Templates틀은 are때때로 sometimes여러개의 used작은 to문서를 aggregate하나의 several small문서로 pages집계하는데 into one big page사용됩니다. An example of this would be pages acting as a log where, for editing purposes, there are per-day pages, but for viewing purposes, an aggregate of the entire week is desired.
 
== 왜 제가 만든 틀이 바로 적용되지 않나요? ==
그 하나는 조금 복잡합니다.
That one is a little complex.
 
Some틀의 aspects일부분은 of즉시 templates업데이트됩니다. do예를 update들어 immediately.틀을 변경하고 For간단한 instance,상용구 if텍스트가 you있는 change a template경우, and it호출자를 has사용하는 simple문서를 boilerplate방문하면 text텍스트가 and if you visit the page that uses the template caller, the text is updated업데이트됩니다. That is, the appearance of the page has changed to reflect the new version of the template. The calling page has been "re-rendered".
 
In some cases (TBD), if you want the page rerendered, then you can "purge" the page to cause it to be re-rendered. The easiest way to do this on a one-time basis is to startup to edit the calling page, and then modify the URL in your browser to change the end of the URL from &action=edit to &action=purge and "visit" that URL. If you expect this to be a persistent problem, then you may have to add a purge link, such as:
 
<nowiki> <small>''[{{SERVER}}{{localurl:myarticle내문서|action=purge캐시}} Purge캐시 the cache지우기]''</small></nowiki>
 
This is a common need in some "weekly" reports that are really an aggregate of "daily" reports.
=== 틀로 무엇이 링크되나요 ===
 
이것은 훨씬 더 복잡해집니다.
This gets even more complex.
 
If실제로 you호출 actually문서를 modify수정하고 the다시 calling page and re-save it저장하면, then the "What여기에 links있는 here링크" report will be보고서가 updated업데이트됩니다. A special trick: If you save the save page w/o making any changes, the "What links here" report ''will'' be updated, but the save will not be recorded in your "My contributions" report. Again, no change is reported, but, as a side-effect, the dependencies get updated. The effect of this trick may be similar to that of a purge (TBD).
 
A good example of a chronic lack of update is [[:Template:Opentask]]. This template has several lists of links, and they change frequently. Many old user talk pages (which were recently updated in a trivial way) link to this template and, if you look at [[Special:Wantedpages]], you will see that a cluster of "wanted pages" based on a recent state of the template. If any of the desired pages are discarded (like the "Votes for Willys" page was), then that entry, again, for instance the "Votes for Willys" entry on the "Wanted pages", will linger with a high reference count indefinitely. Again, this is due the user pages of dormant accounts, but if you ''visit'' those pages, you cannot ''see'' the dependency because the page ''is'' re-rendered.
 
== 틀과 관련된 버그가 있을 때 어디로 신고하면 되나요? ==
Bugs should be reported to the버그는 [https://phabricator.wikimedia.org/ Wikimedia위키미디어 Phabricator파브리케이터] website웹사이트에 보고해야합니다. (See [[Wikipedia위키백과:Bug버그 reports보고]] for지침 instructions참조.)
 
== 틀을 개선시키고 싶을때 어떻게 하면 되나요? ==
Enhancements개선 can be requested at the사항은 [https://phabricator.wikimedia.org/ Wikimedia위키미디어 Phabricator파브리케이터] website웹사이트에서 요청할수 있습니다. See자세한 also사항은 [[mw:MediaWiki roadmap]]을 참조하세요.
 
<noinclude></div></noinclude>