Mudanças entre as edições de "Predefinição: Artigo"
De WikiAjuda
(115 revisões intermediárias por 2 usuários não estão sendo mostradas) | |||
Linha 1: | Linha 1: | ||
− | <includeonly><p class="plainlinks"><span class="category-string">[[:Category:{{{categories|}}}|{{{categories|}}}]]</span> / <span class="nivel-string">[[Nível_de_dificuldade::{{{nivel|}}}]]</span> </p> | + | <includeonly><div class="hidden"> |
− | <p>Criada {{#time: d M Y|{{#show:{{FULLPAGENAME}}|?Creation date}}}} por </p> | + | {{#tweekihide: EDIT|EDIT-EXT}} |
− | <p>{{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> | + | |
− | + | [[Category:Artigos]] | |
− | {{{freetext|}}} | + | {{#get_web_data: url={{SERVER}}{{SCRIPTPATH}}/api.php?action=query&format=json&prop=revisions&titles={{PAGENAMEE}}&rvprop=user&rvlimit=1&rvdir=newer |
− | {{#if: {{{tags|}}} | | + | |format=JSON |
− | <div class="tags"> | + | |data=creator=user |
+ | }} | ||
+ | {{#vardefine: creator | ||
+ | |{{#external_value: creator}} | ||
+ | }} | ||
+ | </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> | ||
+ | <div id="created-string" class="hidden"> | ||
+ | <p>Criada {{#time: d M Y|{{#show:{{FULLPAGENAME}}|?Creation date}}}} por {{#external_value: creator}}</p> | ||
+ | </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><!-- | ||
+ | -->{{#ifanon:|<div class="btn-group"> | ||
+ | <btn> | ||
+ | Special:FormEdit/Editar página/{{PAGENAME}}|Editar | ||
+ | * Special:FormEdit/Classificar página/{{PAGENAME}}|Classificar | ||
+ | * | ||
+ | * {{SERVER}}{{SCRIPTPATH}}/index.php?title={{FULLPAGENAMEE}}&action=history|{{int:history}} | ||
+ | * Special:MovePage/{{PAGENAME}}|{{int:move}} | ||
+ | * {{SERVER}}{{SCRIPTPATH}}/index.php?title={{FULLPAGENAMEE}}&action=delete|{{int:delete}} | ||
+ | * | ||
+ | * Form:Classificar página|Página nova | ||
+ | </btn> | ||
+ | </div> | ||
+ | }} | ||
+ | <!-- | ||
+ | |||
+ | --><div style="margin-top: 30px">{{{freetext|}}}</div><!-- | ||
+ | -->{{#if: {{{tags|}}} | ||
+ | | | ||
+ | <div id="tags" class="hidden"> | ||
+ | <p class="tags-header">Palavras-chave</p> | ||
{{#arraymap: {{{tags|}}} | {{#arraymap: {{{tags|}}} | ||
− | |/ | + | |/ |
|@ | |@ | ||
− | |<p><span class="tag-string"><i class="fa fa-hashtag"></i> [ | + | |<p><span class="tag-string plainlinks"><i class="fa fa-hashtag"></i> {{#set:Tags={{uc:@}}}}[{{fullurl:Special:SearchByProperty|property=Tags&value={{urlencode:{{uc:@}}}}}} {{uc:@}}]</span></p> |
− | | | + | |\n |
}} | }} | ||
+ | {{#seo: | ||
+ | |title={{PAGENAME}} | ||
+ | |titlemode=append | ||
+ | |keywords={{#arraymap: {{{keywords|{{{tags|}}}}}}|/|@|@|,}} | ||
+ | |description={{{description|{{PAGENAME}}}}} | ||
+ | |fb:admins={{:Mediawiki:Fb-admins}} | ||
+ | |fb:app_id={{:Mediawiki:Fb-app-id}} | ||
+ | |og:type=article | ||
+ | |og:site_name={{SITENAME}} | ||
+ | |og:locale=pt_BR | ||
+ | |article:publisher={{SITENAME}} | ||
+ | |article:section={{{categories|}}} | ||
+ | |article:tag={{#arraymap:{{{tags|}}}|/|@|@|, }} | ||
+ | |article:modified_time={{#show:{{FULLPAGENAME}}|?Modification date#iso}} | ||
+ | |article:published_time={{#show:{{FULLPAGENAME}}|?Creation date#iso}} | ||
+ | }} | ||
+ | </div> | ||
}} | }} | ||
+ | [[Category:{{{categories|}}}]] | ||
+ | <div class="gobottom"> | ||
+ | |||
+ | |||
+ | |||
</div> | </div> | ||
− | |||
</includeonly><noinclude> | </includeonly><noinclude> | ||
</noinclude> | </noinclude> |
Edição atual tal como às 06h08min de 2 de janeiro de 2021