మూస:Dotted summary row/doc
మూస:Strong for మూస:Terminate sentence It may contain usage information, categories and other content that is not part of the original మూస page. |
Description
మార్చుA simple template to obtain a dotted row to be used into summaries.
Example
మార్చుCode (testing various font-sizes too)
<table width="50%" align="center">{{Dotted summary row|Title of the chapter 1|14}} {{Dotted summary row|Title of the chapter 2, much longer than a single row because it needs to be to show the wrapping effect|15}} {{Dotted summary row|{{x-larger|Title of the chapter 1}}|{{x-larger|16}}}} {{Dotted summary row|{{smaller|Title of the chapter 1}}|{{smaller|17}}}}
Result
Title of the chapter 1 | 14 |
Title of the chapter 2, much longer than a single row because it needs to be to show the wrapping effect | 15 |
Title of the chapter 1, x-larger | 16 |
Title of the chapter 1, smaller | 17 |
Test implementation
మార్చుA test implementation can be seen here: Page:The Modern Art of Taming Wild Horses.djvu/7
css requirements
మార్చుTo see dots you need these css additive settings:
.dotted { background-image:url('http://upload.wikimedia.org/wikipedia/commons/6/61/Dots.png'); background-repeat:no-repeat; background-position:left bottom; } .opaque { background-color:white; }
See also
మార్చు- {{Dotted summary row no image}} - a similar template with more complicated and uglier HTML, which requires line wraps to be manually inserted, but which allows changing the size of the dots and the use of a solid or dashed line in place of dots.