Template:Need to synchronize/doc: Difference between revisions
Created page with "{{Info/Guidelines}} == Template Documentation == This template is used to mark pages that need to be updated via cross-language synchronization to other language sites. If you want to mark a section or page that needs to synchronize updates '''from''' another language site, please use {{tl|Need_to_synchronize_from}}. It adds a notification box and automatically categorizes the page into Category:Pages requiring edits to be synchronized to other language sites. Whe..." |
m Text replacement - "{{lc:}}" to "" |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
== Template Documentation == | == Template Documentation == | ||
This template is used to mark pages that need to be updated via cross-language synchronization to other language sites. If you want to mark a section or page that needs to synchronize updates '''from''' another language site, please use {{tl|Need_to_synchronize_from}}. | This template is used to mark pages that need to be updated via cross-language synchronization '''to''' other language sites. If you want to mark a section or page that needs to synchronize updates '''from''' another language site, please use {{tl|Need_to_synchronize_from}}. | ||
It adds a notification box and automatically categorizes the page into [[:Category:Pages requiring edits to be synchronized to other language sites]]. When parameters are added, it can display synchronization information for specific language versions. | It adds a notification box and automatically categorizes the page into [[:Category:Pages requiring edits to be synchronized to other language sites]]. When parameters are added, it can display synchronization information for specific language versions. | ||
Line 17: | Line 15: | ||
** When enabled, it must be placed at the top of the page, not within the modified section. | ** When enabled, it must be placed at the top of the page, not within the modified section. | ||
|- | |- | ||
| | | zh-pagename || Optional || The corresponding page name in the Chinese site that '''needs synchronization''' (format: Namespace:Page name, e.g., '''"首页"'''). | ||
|- | |- | ||
| | | zh-oldid || Optional || The revision ID (timestamp) of the corresponding page in the Chinese site at the time of adding this template. | ||
|- | |- | ||
| ja-pagename || Optional || The corresponding page name in the Japanese site that '''needs synchronization''' (format: 名前空間:ページ名, e.g., '''"プロジェクト:メインページ"'''). | | ja-pagename || Optional || The corresponding page name in the Japanese site that '''needs synchronization''' (format: 名前空間:ページ名, e.g., '''"プロジェクト:メインページ"'''). | ||
Line 44: | Line 42: | ||
<pre> | <pre> | ||
{{Need_to_synchronize | {{Need_to_synchronize | ||
| | | zh-pagename = Project:Main Page | ||
| | | zh-oldid = 12345 | ||
| ja-pagename = プロジェクト:メインページ | | ja-pagename = プロジェクト:メインページ | ||
| ja-oldid = 67890}} | | ja-oldid = 67890}} | ||
Line 51: | Line 49: | ||
Result: | Result: | ||
{{Need_to_synchronize | {{Need_to_synchronize | ||
| | | zh-pagename = Project:Main Page | ||
| | | zh-oldid = 12345 | ||
| ja-pagename = プロジェクト:メインページ | | ja-pagename = プロジェクト:メインページ | ||
| ja-oldid = 67890}} | | ja-oldid = 67890}} | ||
Line 104: | Line 102: | ||
* A similar template for marking pages that need updates '''from''' other language sites: {{tl|Need_to_synchronize_from}} | * A similar template for marking pages that need updates '''from''' other language sites: {{tl|Need_to_synchronize_from}} | ||
<noinclude>[[zh:Template:Need_to_synchronize/doc]][[Category: | <noinclude>[[zh:Template:Need_to_synchronize/doc]][[Category:T{{lc:emplate documentation}}]]</noinclude> |