|
tools
Style guidePosted by Danwei, December 24, 2008 2:33 PM
A Style Guide for Danwei PostsGeneral text style guidelinesThe Golden Rule Language, grammar and style
Headlines, images, image captions and links
FormattingImage formattting The standard size of the top left image is 160px in width with a variable height. Front pages and other images that might benefit from more detail may be 200px in width. Larger images should be saved as popups, with a standard size thumbnail appearing on the front page. Code Use this code for images with captions (adjust the width: 160px to reflect the actual width of the image):
Use this code for images without captions:
Other layouts can be used: <div class="imgright"> floats an image on the right-hand side. To place a large image all by itself, use <div class="imgblock">. Links and sources formattting Use this code and formatting:
Names of newspapers and magazines should be italicized, and the language should be indicated if it's not English. Link titles should be in English. If the link is to a website that has republished an article that originally appeared elsewhere, indicate this with a "via" note. Check Danwei's China Media Guide for standard names of Chinese media) Other formatting Centering article titles:
Special posts Featured video
China books Posts placed in the "China Books" category will show up in the sidebar (the sidebar is not updated immediately, so don't worry if it doesn't show up right away). An additional thumbnail image, width 80px, needs to be made and pasted into the "Keywords" field. Model Worker Awards The Danwei Model Worker Award is granted by Danwei editors to blogs that we feel are especially worth reading. The full list is generated automatically by posts carrying the tags @mwchinese or @mwenglish, for Chinese-language and English-language blogs, respectively. These posts are usually made under the Blogs category. The image is a 250px-wide screenshot of the blog itself, and the caption is a link to the blog's URL. The Excerpt field should be a short description to the blog and should include a link. This will be used in the full list of Model Workers. TagsGeneral tagging Tags on Danwei are a way to connect similarly-themed posts without explicitly inserting links into the "Links and Sources" section. Add tags for
Each author tends to have a particular tagging style; check out the tags for other posts to get a feel for how they're used. At the moment, Danwei uses tags in English only. Special Tags These special tags are used to direct the website to handle the post in a particular way. They don't display in the published post.
|
Warning: include(/home/danwei/webapps/htdocs/sidebarA.inc): Failed to open stream: No such file or directory in /home/laodanwei/www/www/tools/style-guide.php on line 271 Warning: include(): Failed opening '/home/danwei/webapps/htdocs/sidebarA.inc' for inclusion (include_path='.:/usr/local/php83/lib/php') in /home/laodanwei/www/www/tools/style-guide.php on line 271 Warning: include(/home/danwei/webapps/htdocs/sidebarB.inc): Failed to open stream: No such file or directory in /home/laodanwei/www/www/tools/style-guide.php on line 277 Warning: include(): Failed opening '/home/danwei/webapps/htdocs/sidebarB.inc' for inclusion (include_path='.:/usr/local/php83/lib/php') in /home/laodanwei/www/www/tools/style-guide.php on line 277 |