Plantilla:Fòrum/Encapçalament: diferència entre les revisions
Aparença
m Correcció de codis |
Correcció de codis |
||
Línia 8: | Línia 8: | ||
|NO|No|no=<noinclude><!-- if "no" the thread won't be archived --></noinclude> | |NO|No|no=<noinclude><!-- if "no" the thread won't be archived --></noinclude> | ||
|autolock=<!-- auto lock-->{{#ifexpr:{{#expr:{{#time: U}} - {{#time: U | {{REVISIONTIMESTAMP}}}} }} > ({{Forumheader/days}} * 86400) | |autolock=<!-- auto lock-->{{#ifexpr:{{#expr:{{#time: U}} - {{#time: U | {{REVISIONTIMESTAMP}}}} }} > ({{Forumheader/days}} * 86400) | ||
|<div id="old-forum-warning" style="margin: 0.8em 0; padding: 0.5em 12px; border: 2px solid red; background-color: #FFF7F7; color: black; text-align: center;">'''<span style="color: red"> | |<div id="old-forum-warning" style="margin: 0.8em 0; padding: 0.5em 12px; border: 2px solid red; background-color: #FFF7F7; color: black; text-align: center;">'''<span style="color: red">Note</span>:''' This topic has been unedited for '''{{#expr:({{#time: U}} - {{#time: U | {{REVISIONTIMESTAMP}}}}) / 86400 round 0}} days'''. It is considered '''archived''' - the discussion is over.<br/>Do not add to unless it ''really'' needs a response.</div>__NOEDITSECTION__ | ||
|}} | |}} | ||
|#default=<!-- manual lock --><div id="old-forum-warning" style="margin: 0.8em 0; padding: 0.5em 12px; border: 2px solid red; background-color: #FFF7F7; color: black; text-align: center;">'''<span style="color: red"> | |#default=<!-- manual lock --><div id="old-forum-warning" style="margin: 0.8em 0; padding: 0.5em 12px; border: 2px solid red; background-color: #FFF7F7; color: black; text-align: center;">'''<span style="color: red">Note</span>:''' This topic has been '''archived''' because the discussion is considered '''solved'''.<br/>Do not add to unless it ''really'' needs a response. This topic has been closed for '''{{#expr:({{#time: U}} - {{#time: U | {{REVISIONTIMESTAMP}}}}) / 86400 round 0}} days.'''</div>__NOEDITSECTION__ | ||
}} | }} | ||
}}<!-- adding thread categories | }}<!-- adding thread categories |
Revisió del 17:58, 5 març 2013
Forums: Index → Fòrum/Encapçalament
Ús
- Bloqueig manual
Si vols tancar un tòpic, afegeix closed=1
(qualsevol altre valor és acceptable) a la plantilla. Podràs fer un missatge com aquest
Nota: Aquest tòpic ha estat arxivat perquè la discussió s'ha considerat resolta.
No afegeixis res més sinó és perquè realment necessita una resposta. Aquest tòpic no ha estat editat en 4537 dies.
No afegeixis res més sinó és perquè realment necessita una resposta. Aquest tòpic no ha estat editat en 4537 dies.
- Bloqueig Automàtic
La plantilla es bloquejarà automàticament un fòrum després d'un nombre determinat de dies, de moment 50 dies. Per canviar-la, substitueix 4320000
pel nombre desitjat de dies en segons, per calcular fes servir la fórmula DIES x 86.400 = NUMERO LÍMIT, per exemple, en aquest cas 50 x 86.400 = 4.320.000. Quan s'arriba al límit, la plantilla produirà un missatge com aquest:
Nota: Aquest tòpic no ha estat editat en 4537 dies. Està considerat arxivat - la discussió s'ha acabat.
No afegeixis res més sinó és perquè realment necessita una resposta.
No afegeixis res més sinó és perquè realment necessita una resposta.
- Nota
Un fòrum "bloquejat" encara es pot editar fent servir l'historial de la pàgina, a la barra d'eines d'usuari (si existeix) o afegint manualment el &action=edit
a la URL de la pàgina.