Template talk:Eraser-left
Latest comment: 17 years ago by Patrick
Jointly used with Template:Eraser-right Format: {{Subst:eraser-left| 9 }}
{{Subst:Eraser-left|n}}...{{Subst:Eraser-right|n}} erases itself after n edits.
Old:
{{Subst:eraser-left| 9 | 4 | 0 }}
Examples
edit1
editAfter <span style="display:none">{{subst:edit counter A|-|0|-}}</span> edits: {{subst:eraser-left|7|4|0}} == Some heading== *Some text. *{{Some template}} *[[some link]] <div> [[image:some image]] </div> {{subst:eraser-right|7|4|0}}
Gives: After
|1| edits:{{Subst:Eraser-left|6 }}
Some heading
edit- Some text.
- Template:Some template
- some link
{{Subst:Eraser-right|6 }}
2
editAfter <span style="display:none">{{subst:edit counter A|-|0|-}}</span> edits: {{subst:eraser-left|5|4|0}} <nowiki>}}</nowiki> {{subst:eraser-right|5|4|0}}
Gives: After
|1| edits:{{Subst:Eraser-left|4 }}
<nowiki>}}</nowiki>
{{Subst:Eraser-right|4 }}
ae
See also
edit- Compare:w:zh-yue:Template:右邊嘅字下個月消失 ([1], [2],...) where the variable LOCALMONTHNAME was used in the decision.
Discussion
editIf the second parameter is always 4 it looks like we don't need it.--Patrick 12:20, 19 April 2007 (UTC)
- I removed it.--Patrick 12:44, 19 April 2007 (UTC)