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:
{{Info/Guidelines}}
== 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.
|-
|-
| en-pagename || Optional || The corresponding page name in the English site that '''needs synchronization''' (format: Namespace:Page name, e.g., '''"Project:Main Page"''').
| zh-pagename || Optional || The corresponding page name in the Chinese site that '''needs synchronization''' (format: Namespace:Page name, e.g., '''"首页"''').
|-
|-
| en-oldid || Optional || The revision ID (timestamp) of the corresponding page in the English site at the time of adding this template.
| 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
| en-pagename = Project:Main Page
| zh-pagename = Project:Main Page
| en-oldid = 12345
| 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
| en-pagename = Project:Main Page
| zh-pagename = Project:Main Page
| en-oldid = 12345
| 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:Template documentation]]</noinclude>
<noinclude>[[zh:Template:Need_to_synchronize/doc]][[Category:T{{lc:emplate documentation}}]]</noinclude>