MediaWiki:Gadget-geonotice-list.js: diferenças entre revisões
Conteúdo apagado Conteúdo adicionado
+cadalivro |
|||
Linha 41: | Linha 41: | ||
window.GeoNotice.notices = { |
window.GeoNotice.notices = { |
||
cadalivro: { |
|||
wikisalvador6: { |
|||
begin: ' |
begin: '27 March 2024 00:00 UTC', |
||
end: ' |
end: '6 April 2024 17:00 UTC', |
||
country: 'BR', |
|||
corners: [ [-15,-43], [-11,-37] ], |
|||
text: 'Em Abril, convidamos voc\u00ea para participar do <b>Wiki Encontro + Cada Livro, Seu P\u00fablico<\/b>, um evento presencial para ampliar e melhorar o conte\u00fado sobre livros, obras liter\u00e1rias e hist\u00f3rias orais. <b>[[:wmbr:Wiki Encontros 2024\/Evento 1|Consulte as cidades e participe!]]<\/b>!' |
|||
text: 'A WikiSalvador 6.0 est\u00E1 chegando! <b>[[Wikipédia:Encontros\/WikiSalvador 6.0|Participe]]<\/b>!' |
|||
} |
} |
||
Revisão das 17h34min de 27 de março de 2024
/* _____________________________________________________________________________
* | |
* | === WARNING: GLOBAL GADGET FILE === |
* | Changes to this page affect many users. |
* | Please discuss changes on the talk page or on [[WT:Gadget]] before editing. |
* |_____________________________________________________________________________|
*
* Defines the list of notices to be shown to registered users based on their location
*/
window.GeoNotice = {};
/**
* @property {Object} notices An object holding key-value pairs where
* the value is an object specifying the properties of a notice.
*
* The month names must be in English.
*
* @example
* nomeCurto: {
* begin: '01 January 2013 00:00 UTC',
* end: '07 January 2013 00:00 UTC',
* corners: [ [ 5, -75 ], [ -35, -35 ] ],
* text: 'Mensagem com [[link]].'
* }
*
* There also is an option to use country instead of corners. For example:
* ID: {
* begin: 'date',
* end: 'date',
* country: 'US',
* text: 'message'
* }
*
* See http://dev.maxmind.com/geoip/legacy/codes/iso3166 for full list of country codes
*
* - There must be commas between the notices, but not after the last one.
* - BE SURE TO ESCAPE YOUR APOSTROPHES (put a backslash in front of it, like this: \')!
* - Use [[meta:w:en:link|link]] format for internal links, so that they work properly
* on the other projects where the geonotice is displayed.
*/
window.GeoNotice.notices = {
cadalivro: {
begin: '27 March 2024 00:00 UTC',
end: '6 April 2024 17:00 UTC',
country: 'BR',
text: 'Em Abril, convidamos voc\u00ea para participar do <b>Wiki Encontro + Cada Livro, Seu P\u00fablico<\/b>, um evento presencial para ampliar e melhorar o conte\u00fado sobre livros, obras liter\u00e1rias e hist\u00f3rias orais. <b>[[:wmbr:Wiki Encontros 2024\/Evento 1|Consulte as cidades e participe!]]<\/b>!'
}
/*!
* Fim da lista.
* Edite apenas acima da linha!
*
* É preciso colocar vírgulas entre os avisos, mas não deve ser colocado depois do último.
* Use o formato [[link]] para links internos, de modo que eles funcionem adequadamente
* nos demais projetos em que o geonotice for mostrado.
*
*/
};