Skip to content

Zomis/CodeReview-Shield

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CodeReview-Shield Code Review

get a shields.io-like 'shield' for your Code Review question

Usage

Add this to your GitHub repository README.md file, or anywhere else that supports markdown:

[![Code Review](http://www.zomis.net/codereview/shield/?qid=qqqqq)](http://codereview.stackexchange.com/q/qqqqq/uuuuuuu)

Replace qqqqq with the question id and uuuuuuu with your user id.

The quickest way to create your shield is to use the Code Review Shield creator and paste the 'share' link for your question.

Modes

By default, the shield decides the mode depending on the status of the question.

  • If the question does not have any answers, the mode score is used with red background
  • If the question has answers but no accepted answers, the mode answers is used with orange background
  • If the question has an accepted answer, the mode views is used with green background

You can specify the mode yourself in the URL by using &mode=yourmode, for example:

score mode

[![Code Review](http://www.zomis.net/codereview/shield/?qid=95459&mode=score)](http://codereview.stackexchange.com/q/95459/31562)

Code Review

answers mode

[![Code Review](http://www.zomis.net/codereview/shield/?qid=95459&mode=answers)](http://codereview.stackexchange.com/q/95459/31562)

Code Review

views mode

[![Code Review](http://www.zomis.net/codereview/shield/?qid=95459&mode=views)](http://codereview.stackexchange.com/q/95459/31562)

Code Review

About

get a shields.io-like 'shield' for your Code Review question

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published