Custom Actions
“Take time to deliberate,
but when the time for action has arrived,
stop thinking and go in.”
— Napoleon Bonaparte (1769 - 1821)
Algumas
Wikka Wiki actions que criei para uso neste site. Aqui guardarei a documentação de uso para referência própria.
1. ImageBlock
Images from Gallery. Use the "imageblock" action:
{{imageblock type="specificItem" caption="Foto!" itemId="1769"}}
Foto!
Parameters:
- float:Define if the imageblock should be a float box. Set it with either right or left. If absent, the block will behave like a regular div.
- show:Pipe(|) separated list chosen from: title, date, views, owner, heading, fullSize; the value can also be 'none'.
- type:Pipe(|) separate list chosen from: randomImage, recentImage, viewedImage, randomAlbum, recentAlbum, viewedAlbum, dailyImage, weeklyImage, monthlyImage, dailyAlbum, weeklyAlbum, monthlyAlbum, specificItem; default is randomImage.
- caption:Caption or title of the thumbnail image.
- itemId:Limit the item selection to the subtree of the gallery under the album with the given id; or the id of the item to display when used with specificItem block type. Not required.
- size: Just like g2_maxSize except that it will not substitute an image smaller than the size you request, so you'll get the closest match in size possible. Note that this may use a lot more bandwidth if a much larger image has to be scaled down in your browser.
2. Google AdSense
Parameters:
- float: if present floats the box. Possible values: left and right.
- size: defines de size and shape of the box. Possible values: button and banner.
Examples:
{{googleadsense size="banner"}}
{{googleadsense size="banner"}}
3. Citations
Parameters:
- text: main text of the citation. use '\n' to breaklines
- author: author name, if any. Optional.
Categoria:
Wiki