Mudanças entre as edições de "Predefinição: Artigo"
De WikiAjuda
Linha 3: | Linha 3: | ||
__TOC_ | __TOC_ | ||
[[Category:Artigos]] | [[Category:Artigos]] | ||
+ | {{#get_web_data: url={{SERVER}}{{SCRIPTPATH}}/api.php?action=query&format=json&prop=revisions&pageid={{PAGEID}}&rvprop=user&rvlimit=1&rvdir=newer | ||
+ | |format=JSON | ||
+ | |data=creator=user | ||
+ | }} | ||
+ | {{#vardefine: creator | ||
+ | |{{#external_value: creator}} | ||
+ | }} | ||
</div> | </div> | ||
<p class="plainlinks"><span class="category-string">[[:Category:{{{categories|}}}|{{{categories|}}}]]</span>{{#set: Campo={{{categories|}}}}} / <span class="nivel-string">[[Nível_de_dificuldade::{{{nivel|}}}]]</span> </p> | <p class="plainlinks"><span class="category-string">[[:Category:{{{categories|}}}|{{{categories|}}}]]</span>{{#set: Campo={{{categories|}}}}} / <span class="nivel-string">[[Nível_de_dificuldade::{{{nivel|}}}]]</span> </p> | ||
<div id="created-string" class="hidden"> | <div id="created-string" class="hidden"> | ||
− | <p>Criada {{#time: d M Y|{{#show:{{FULLPAGENAME}}|?Creation date}}}}</p> | + | <p>Criada {{#time: d M Y|{{#show:{{FULLPAGENAME}}|?Creation date}}}} por {{#external_value: creator}}</p> |
</div> | </div> | ||
<p style="color:#777">{{int:lastmodifiedatby|{{#time: d M Y|{{#show:{{FULLPAGENAME}}|?Modification date}}}}|{{#time: H:i|{{#show:{{FULLPAGENAME}}|?Modification date}}}} |[[{{#show:{{FULLPAGENAME}}|?Last editor is|link=none}}|{{#explode:{{#show:{{FULLPAGENAME}}|?Last editor is|link=none}}|:|1}}]]}}</p><!-- | <p style="color:#777">{{int:lastmodifiedatby|{{#time: d M Y|{{#show:{{FULLPAGENAME}}|?Modification date}}}}|{{#time: H:i|{{#show:{{FULLPAGENAME}}|?Modification date}}}} |[[{{#show:{{FULLPAGENAME}}|?Last editor is|link=none}}|{{#explode:{{#show:{{FULLPAGENAME}}|?Last editor is|link=none}}|:|1}}]]}}</p><!-- |
Edição das 18h37min de 27 de dezembro de 2018