Plantilla:Fòrum/Encapçalament: diferència entre les revisions

mCap resum de modificació
mCap resum de modificació
 
(12 revisions intermèdies per 2 usuaris que no es mostren)
Línia 1: Línia 1:
__NEWSECTIONLINK__<div class="forumheader" style="margin-bottom: .25em; ">
<div class="forumheader">'''Forums:'''&nbsp;[[Forum:Index|Index]]&nbsp;&nbsp;{{#if: {{{1|}}}|
{| cellpadding="0" cellspacing="0" style="background-color:inherit;"
[[Forum:{{{1}}}{{!}}{{{1}}}]]&nbsp;&nbsp;}}&nbsp;{{PAGENAME}}</div><includeonly>{{#if: {{{2|}}}
|'''{{ns:Forum}}:''' [[{{:MediaWiki:Forum-url}}|Índex]] '''&rarr;&nbsp; '''
|<!-- manual lock --><div 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">Nota</span>:''' Aquest tòpic ha estat '''arxivat''' perquè la discussió s'ha considerat '''resolta'''.<br/>No afegeixis res més sinó és perquè ''realment'' necessita una resposta. Aquest tòpic no ha estat editat en '''{{#expr:({{#time: U}} - {{#time: U | {{REVISIONTIMESTAMP}}}}) / 86400 round 0}} dies.'''</div>__NOEDITSECTION__}}</includeonly>{{#if: {{{1|}}}|<includeonly>[[Categoria:{{{1}}}]]</includeonly>}}<noinclude>[[Categoria:Fòrums]]
|
{| cellpadding="0" cellspacing="0" style="background-color:inherit;"
|[[{{ns:Forum}}:{{{1}}}|{{{1}}}]] {{#ifeq:{{NAMESPACE}}|{{ns:Forum}}|[[Categoria:{{{1}}}|{{PAGENAME}}]]|}}
{{#if:{{{inclòs|}}}|{{!}}-
{{!}}style="border-top:1px solid gray;"{{!}}[[{{ns:Forum}}:{{{inclòs}}}|{{{inclòs}}}]] {{#ifeq:{{NAMESPACE}}|{{ns:Forum}}|[[Categoria:{{{inclòs}}}|{{PAGENAME}}]]|}} }}
|}
| '''&nbsp;&rarr;''' {{PAGENAME}}
{{#if:{{{aleatori|}}}|{{!}}'''&nbsp;&rarr;''' {{{aleatori}}}|}}
|}</div>
----
<includeonly>{{#if: {{{stickied|}}}
|<noinclude><!-- if it's stickied, the thread won't be archived --></noinclude>
|{{#switch: {{{closed|autolock}}}
  |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)
|<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">Nota</span>:''' Aquest tòpic no ha estat editat en '''{{#expr:({{#time: U}} - {{#time: U | {{REVISIONTIMESTAMP}}}}) / 86400 round 0}} dies'''. Està considerat '''arxivat''' - la discussió s'ha acabat.<br/>No afegeixis res més sinó és perquè ''realment'' necessita una resposta.</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">Nota</span>:''' Aquest tòpic no ha estat editat en '''{{#expr:({{#time: U}} - {{#time: U | {{REVISIONTIMESTAMP}}}}) / 86400 round 0}} dies'''. Està considerat '''arxivat''' - la discussió s'ha acabat.<br/>No afegeixis res més sinó és perquè ''realment'' necessita una resposta.'''</div>__NOEDITSECTION__
}}}}<!-- adding thread categories
-->{{#if:{{{1|}}}
|{{#if:{{{2|}}}
|[[Category:{{{1}}}{{!}}{{PAGENAME}}]][[Category:{{{2}}}{{!}}{{PAGENAME}}]]
|[[Category:{{{1}}}{{!}}{{PAGENAME}}]]}}
|}}<!--
adding stickied category
-->{{#if: {{{stickied|}}}|[[Category:{{{stickied}}}|{{PAGENAME}}]]}}</includeonly><noinclude>[[Categoria:Fòrums]]


== Ús ==
== Ús ==
;Bloqueig manual
;Bloqueig manual
Si vols tancar un tòpic, afegeix <code>closed=1</code> (qualsevol altre valor és acceptable) a la plantilla. Podràs fer un missatge com aquest<br/>
Si vols tancar un tòpic, afegeix <code>tancat</code> a la plantilla. Podràs fer un missatge com aquest<br/>
<div 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">Nota</span>:''' Aquest tòpic ha estat '''arxivat''' perquè la discussió s'ha considerat '''resolta'''.<br/>No afegeixis res més sinó és perquè ''realment'' necessita una resposta. Aquest tòpic no ha estat editat en '''{{#expr:({{#time: U}} - {{#time: U | {{REVISIONTIMESTAMP}}}}) / 86400 round 0}} dies.'''</div>
<div 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">Nota</span>:''' Aquest tòpic ha estat '''arxivat''' perquè la discussió s'ha considerat '''resolta'''.<br/>No afegeixis res més sinó és perquè ''realment'' necessita una resposta. Aquest tòpic no ha estat editat en '''{{#expr:({{#time: U}} - {{#time: U | {{REVISIONTIMESTAMP}}}}) / 86400 round 0}} dies.'''</div>
;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 <code>4320000</code> 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:<br/>
<div 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">Nota</span>:''' Aquest tòpic no ha estat editat en '''{{#expr:({{#time: U}} - {{#time: U | {{REVISIONTIMESTAMP}}}}) / 86400 round 0}} dies'''. Està considerat '''arxivat''' - la discussió s'ha acabat.<br/>No afegeixis res més sinó és perquè ''realment'' necessita una resposta.</div>
;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 <code>&action=edit</code> a la URL de la pàgina.


[[Categoria:Plantilles del Fòrum|{{PAGENAME}}]]</noinclude>
[[Categoria:Plantilles del Fòrum|{{PAGENAME}}]]</noinclude>